Product Marketing, MathWorks

Statistics and Machine Learning Applications

Answered

Magnitude of a vector

This works perfectly fine on MATLAB R2013a: >> syms x y z r = [x y z]; norm(r) http://www.mathworks.com/help/symbolic/norm....

Magnitude of a vector

This works perfectly fine on MATLAB R2013a: >> syms x y z r = [x y z]; norm(r) http://www.mathworks.com/help/symbolic/norm....

9 months ago | 4

| accepted

Submitted

Multilevel Mixed-Effects Modeling Using MATLAB

MATLAB files from the webinar

3 years ago | 9 downloads |

Submitted

Response Surface Models of Drug Interactions with Curve Fitting Toolbox

"Response Surface Models of Drug Interactions with Curve Fitting Toolbox" webinar demo files

3 years ago | 5 downloads |

Answered

how can make video from images.......

What you are looking for is here: http://www.mathworks.com/help/matlab/examples/convert-between-image-sequences-and-video.htm...

how can make video from images.......

What you are looking for is here: http://www.mathworks.com/help/matlab/examples/convert-between-image-sequences-and-video.htm...

5 years ago | 4

Answered

one-class classifier using "Gaussian Mixture Model"

Here is the documentation link to Gaussian Mixture Models: http://www.mathworks.com/help/stats/gaussian-mixture-models-1.html...

one-class classifier using "Gaussian Mixture Model"

Here is the documentation link to Gaussian Mixture Models: http://www.mathworks.com/help/stats/gaussian-mixture-models-1.html...

5 years ago | 1

| accepted

Answered

how to make the X,Y for fitcsvm,as i get error using it?

What version of MATLAB are you using? fitcsvm was introduced in MATLAB R2014a. If you are using an earlier version of MATLAB you...

how to make the X,Y for fitcsvm,as i get error using it?

What version of MATLAB are you using? fitcsvm was introduced in MATLAB R2014a. If you are using an earlier version of MATLAB you...

5 years ago | 0

Answered

How does predict with ensemble regression works?

For classification the output of the ensemble is the class that gets majority vote from all the learners. For regression the res...

How does predict with ensemble regression works?

For classification the output of the ensemble is the class that gets majority vote from all the learners. For regression the res...

5 years ago | 1

| accepted

Answered

Parameter manipulation in naive bayes classificator struct

You can change the prior before the model is fit. If you want to specify different prior, you can do that while calling NaiveBay...

Parameter manipulation in naive bayes classificator struct

You can change the prior before the model is fit. If you want to specify different prior, you can do that while calling NaiveBay...

5 years ago | 0

| accepted

Answered

Matlab animation to powerpoint

You can export your animation as a video as follows: http://www.mathworks.com/help/matlab/ref/videowriter-class.html You c...

Matlab animation to powerpoint

You can export your animation as a video as follows: http://www.mathworks.com/help/matlab/ref/videowriter-class.html You c...

5 years ago | 1

Answered

How can I import data from .xls using for Principal Component Analysis (PCA)?

Michelle, your approach is correct. *princomp* (or *pca* which is a newer and recommended function to use) accepts only matrices...

How can I import data from .xls using for Principal Component Analysis (PCA)?

Michelle, your approach is correct. *princomp* (or *pca* which is a newer and recommended function to use) accepts only matrices...

5 years ago | 1

| accepted

Answered

predict does not work with a crossvalidated tree?

When you use the 'crossval' 'on' flag you get a partitioned model as an output. You can predict from this model using kfol...

predict does not work with a crossvalidated tree?

When you use the 'crossval' 'on' flag you get a partitioned model as an output. You can predict from this model using kfol...

5 years ago | 0

| accepted

Answered

Chaotic signal generation using Matlab

There are plenty of submissions for Lorentz attractor in File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/i...

Chaotic signal generation using Matlab

There are plenty of submissions for Lorentz attractor in File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/i...

5 years ago | 0

Answered

nonlinear minimization with fminunc

The optimization stopped because *size of the current step is less than the default value*. However you can change the defaults....

nonlinear minimization with fminunc

The optimization stopped because *size of the current step is less than the default value*. However you can change the defaults....

5 years ago | 0

Answered

Eigen face , principal component analysis

Did you try File Exchange? http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=eigenface There a...

Eigen face , principal component analysis

Did you try File Exchange? http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=eigenface There a...

5 years ago | 0

| accepted

Answered

Optimset error: How to get over it?

It appears that the code you found was written using an older version of MATLAB (R2011a or earlier). LineSearchType has since be...

Optimset error: How to get over it?

It appears that the code you found was written using an older version of MATLAB (R2011a or earlier). LineSearchType has since be...

5 years ago | 0

Answered

Multiple linear model p value f test t test

These phrases have standard meaning in Statistics which is consistent with most literature you may find on Linear Regression. In...

Multiple linear model p value f test t test

These phrases have standard meaning in Statistics which is consistent with most literature you may find on Linear Regression. In...

5 years ago | 0

| accepted

Answered

Can neural net weights be negative?

Weights can be whatever the training algorithm determines the weights to be. If you take the simple case of a perceptron (1 laye...

Can neural net weights be negative?

Weights can be whatever the training algorithm determines the weights to be. If you take the simple case of a perceptron (1 laye...

5 years ago | 1

| accepted

Answered

Nearest nodes to a given point

You can perform a "m" nearest neighbor search for a specified distance metric: http://www.mathworks.com/help/stats/knnsearch....

Nearest nodes to a given point

You can perform a "m" nearest neighbor search for a specified distance metric: http://www.mathworks.com/help/stats/knnsearch....

5 years ago | 0

| accepted

Answered

What are the new features in embedded coder?

If you have specific questions on capabilities you should consider contacting MathWorks embedded coder expert on the product pag...

What are the new features in embedded coder?

If you have specific questions on capabilities you should consider contacting MathWorks embedded coder expert on the product pag...

5 years ago | 0

Answered

My parallel computing code (R2013b) is very slow

If you have Parallel Computing Toolbox installed you shouldn't see the error message. Confirm you have Parallel Computing Toolb...

My parallel computing code (R2013b) is very slow

If you have Parallel Computing Toolbox installed you shouldn't see the error message. Confirm you have Parallel Computing Toolb...

5 years ago | 1

| accepted

Answered

Write in the different csv cells in matlab

Why don't you use CSVWRITE: http://www.mathworks.com/help/matlab/ref/csvwrite.html

Write in the different csv cells in matlab

Why don't you use CSVWRITE: http://www.mathworks.com/help/matlab/ref/csvwrite.html

5 years ago | 0

Answered

How can I create a vector of rolling Standard Deviations

It is preferred if you give it a shot first and then seek help, w = 30; y = NaN(100,1) x = randn(100,1); for ii = ...

How can I create a vector of rolling Standard Deviations

It is preferred if you give it a shot first and then seek help, w = 30; y = NaN(100,1) x = randn(100,1); for ii = ...

5 years ago | 0

| accepted

Answered

How to find standard deviation of a linear regression?

Ronny, it is fairly easy to calculate in few lines of code, however it is easier to use functions such as fitlm to perform linea...

How to find standard deviation of a linear regression?

Ronny, it is fairly easy to calculate in few lines of code, however it is easier to use functions such as fitlm to perform linea...

5 years ago | 0

Answered

How to execute .exe file at linaro ubuntu(ARM processor)

Firstly .exe executable files are specific to Windows OS, they won't run on Linux unless you use an emulator such as wine. Cu...

How to execute .exe file at linaro ubuntu(ARM processor)

Firstly .exe executable files are specific to Windows OS, they won't run on Linux unless you use an emulator such as wine. Cu...

5 years ago | 0

Answered

Matlab AR command for creating the model of predicting kstep ahead prediction

Maybe you are looking for ARX (autoregressive with exogenous inputs). You can fit an ARX model using either the Econometrics or ...

Matlab AR command for creating the model of predicting kstep ahead prediction

Maybe you are looking for ARX (autoregressive with exogenous inputs). You can fit an ARX model using either the Econometrics or ...

5 years ago | 0

| accepted

Answered

MATLAB code for PCA and K-Means to be applied on Intrinsic Mode Function graphs?

http://www.mathworks.com/help/stats/pca.html http://www.mathworks.com/help/stats/kmeans.html

MATLAB code for PCA and K-Means to be applied on Intrinsic Mode Function graphs?

http://www.mathworks.com/help/stats/pca.html http://www.mathworks.com/help/stats/kmeans.html

5 years ago | 0

Answered

How to calculate AIC in glmfit?

It is recommended to use *fitglm* instead of the older glmfit. Depending on the release of MATLAB (> R2012a) you can use either...

How to calculate AIC in glmfit?

It is recommended to use *fitglm* instead of the older glmfit. Depending on the release of MATLAB (> R2012a) you can use either...

5 years ago | 2

| accepted

Answered

extract equation from cfit contents

You can use the formula methods to access the formula you fit: load census f = fittype('poly2'); formula(f)

extract equation from cfit contents

You can use the formula methods to access the formula you fit: load census f = fittype('poly2'); formula(f)

5 years ago | 0

| accepted

Answered

Using fitlm for multiple linear model: Does this function automatically standardise the variables?

No fitlm doesn't not standardize your data. You will have to do this prior to calling fitlm: http://www.mathworks.com/help/st...

Using fitlm for multiple linear model: Does this function automatically standardise the variables?

No fitlm doesn't not standardize your data. You will have to do this prior to calling fitlm: http://www.mathworks.com/help/st...

5 years ago | 0

| accepted