Answered

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...

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...

12 years ago | 0

Answered

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...

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...

12 years ago | 0

Answered

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...

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...

12 years ago | 1

Answered

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); ...

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); ...

12 years ago | 0

| accepted

Answered

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 ...

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 ...

12 years ago | 1

Answered

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...

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...

12 years ago | 0

Answered

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...

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...

12 years ago | 0

Answered

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 ...

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 ...

12 years ago | 0

Answered

Matlab 2012a

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

Matlab 2012a

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

12 years ago | 0

Answered

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...

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...

12 years ago | 0

Answered

Constrained Polynomial Regression

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

Constrained Polynomial Regression

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

12 years ago | 1

Answered

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...

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...

12 years ago | 0

| accepted

Answered

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...

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...

12 years ago | 0

Answered

Principal Component Analysis

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

Principal Component Analysis

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

12 years ago | 0

Answered

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...

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...

12 years ago | 0

| accepted

Answered

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 ...

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 ...

12 years ago | 1

| accepted

Answered

Regression

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

Regression

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

12 years ago | 1

Answered

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...

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...

12 years ago | 1

Answered

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...

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...

12 years ago | 0

Answered

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...

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...

12 years ago | 0

Answered

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...

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...

12 years ago | 2

| accepted

Answered

Poisson random number generator

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

Poisson random number generator

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

12 years ago | 0

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...

12 years 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 ...

12 years 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:...

12 years ago

Answered

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...

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...

12 years ago | 0

| accepted

Answered

Curve fitting with fails misarebly

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

Curve fitting with fails misarebly

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

12 years ago | 1

Answered

How to remove outliers?

Hi Michael MATLAB doesn't provide a specific function to remove outliers. In general you have a couple different options to ...

How to remove outliers?

Hi Michael MATLAB doesn't provide a specific function to remove outliers. In general you have a couple different options to ...

12 years ago | 0

Answered

normal distribution test

Statistics Toolbox offers a number of hypothesis tests that you can use to (formally) test whether your data is normally distrib...

normal distribution test

Statistics Toolbox offers a number of hypothesis tests that you can use to (formally) test whether your data is normally distrib...

12 years ago | 1