Classifiers. How can i draw 3-D plot ?
I have a webinar entitled An Introduction to Classification with MATLAB. The code is available for download from the file exc...

meer dan 7 jaar ago | 0

How to merge two similar functions into a same function? any mathematical modeling method or tool box?
Hi Qian Implicitly, you seem to be suggesting that there is a single model that describes both of these sets of data. Rather...

meer dan 7 jaar ago | 0

Classifiers. How can i draw 3-D plot ?
The SVM implementation in Bioinformatics Toolbox is limited to binary classification. The Naive Bayes classifier in Statistic...

meer dan 7 jaar ago | 1

How to obtain Std of Coefficients from Curve Fitting
Hi George Conveniently, 12a also has a function call NonLinearModel %% Generate some data X = 2* pi*rand(100,1); ...

meer dan 7 jaar ago | 0

| accepted

How to obtain Std of Coefficients from Curve Fitting
The 12a release of Statistics Toolbox has some very nice new capabilities for regression analysis. %% Generate some data ...

meer dan 7 jaar ago | 0

how do I determine the probability distribution of data?
Sorry if this sounds like a silly question: Is there an absolute requirement that you describe your data using a parametric d...

meer dan 7 jaar ago | 0

How to get regression statistics for several run with different data sets?
Hey there The following code assumes that you have the 12a release of Statistics Toolbox. (In other words, I am using the ne...

meer dan 7 jaar ago | 0

Need help in getting a polynomial to go through 0,0
I'm attaching code that illustrates how to solve the problem using either Statistics Toolbox or base MATLAB. The Statistic ...

bijna 8 jaar ago | 0

Matlab 2012a
Statistics Toolbox includes a lot of impressive new functionality for regression analysis. I'm attach code for a blog post th...

bijna 8 jaar ago | 0

Constrained Polynomial Regression
The 12a release of Statistics Toolbox has some very nice new features for regression analysis. There is a new function named Li...

bijna 8 jaar ago | 0

Constrained Polynomial Regression
Curve Fitting Toolbox allows you to specify constraints for individual regression coefficients. With this said and done, coul...

bijna 8 jaar ago | 1

fitting curve to two points
Here's the rub... When you fit a second order Fourier series, you're estimating values for six different regression coefficie...

bijna 8 jaar ago | 0

| accepted

fitting curve to two points
From the looks of things, your daily load curve is a particular example of a second order Fourier series. If you have Curve F...

bijna 8 jaar ago | 0

Principal Component Analysis
The Statistics Toolbox product page has a good demo titled "Partial Least Squares Regression and Principal Components Regression...

bijna 8 jaar ago | 0

nonlinear curve-fitting: weight vector
nlinfit in Statistics Toolbox # Uses Levenberg-Marquardt under the hood # Allows you to input a vector of weights See <ht...

bijna 8 jaar ago | 0

| accepted

data management for large datasets
Have you looked into the dataset array that ships with Statistics Toolbox? The dataset array is a special data type that can ...

bijna 8 jaar ago | 0

| accepted

Regression
Try the following X = linspace(1, 2*pi, 50); X = X'; Y = sin(X) + randn(50,1); foo = fit(X,Y, 'sin1'); ...

bijna 8 jaar ago | 1

Multiple Regression under constraints
Lets start with the regression side of the problem: Given that you want to place constraints on your coefficients, you're goi...

bijna 8 jaar ago | 0

Robust orthogonal or total least squares linear regression
Unfortunately, Statistics Toolbox doesn't currently offer a robust version of PCA. Your best option would probably be to us...

bijna 8 jaar ago | 0

Histogram then a curve fitting to compare with normal
You might want to consult the following example: http://www.mathworks.com/products/statistics/demos.html?file=/products/demos...

bijna 8 jaar ago | 0

Curve fitting - periodic function
Here's a pretty basic example X = linspace(0, 2*pi, 100); X = X'; Y = sin(X) + randn(100,1); foo = fit(X,Y, 's...

bijna 8 jaar ago | 2

| accepted

Poisson random number generator
Mark Steyvers has written a nice book titled "Computational Statistics with MATLAB" which can be downloaded from http://psiex...

bijna 8 jaar ago | 0

Solved

Given a and b, return the sum a+b in c.

bijna 8 jaar ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

bijna 8 jaar ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

bijna 8 jaar ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

bijna 8 jaar ago

Constraining a fitted curve
I'd strongly recommend that you look at a file exchange submission by John D'Errico titled "Shape Modeling Language" http://w...

bijna 8 jaar ago | 0

| accepted

Curve fitting with fails misarebly
Couple comments: Curve Fitting Toolbox includes a lot of nice code that will automatically choose "good" starting points for ...

bijna 8 jaar ago | 1