# Shashank Prasanna

### MathWorks

Product Marketing, MathWorks

Statistics and Machine Learning Applications

**Statistics**

RANK**77**

of 262,812

REPUTATION**1,710**

CONTRIBUTIONS

**0** Questions

**677** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**306**

RANK**799** of 17,989

REPUTATION**2,151**

AVERAGE RATING**4.80**

CONTRIBUTIONS**3** Files

DOWNLOADS **54**

ALL TIME DOWNLOADS**19914**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

7 years ago | 4

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

8 years ago | 1

| accepted

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

8 years ago | 0

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

8 years ago | 1

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 1

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

8 years ago | 1

| accepted

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

8 years ago | 0

| accepted

Chaotic signal generation using Matlab

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 1

| accepted

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 1

| accepted

Write in the different csv cells in matlab

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

8 years ago | 0

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

8 years ago | 1

| accepted

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 3

| accepted

extract equation from cfit contents

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

How can predict multi step ahead using Narnet

Take a look at the line where I define *Ypred* here I specify nans for the number of forecasts I want to make. I specify 4 more ...

8 years ago | 3

| accepted

difference between bernoulli and binomial random variables

The Bernoulli distribution is a special case of the binomial distribution, with the number of trials n = 1. https://en.wikip...

8 years ago | 0

How to use KNN to classify data in MATLAB?

You need a validation set if you want to tune certain parameters in the classifier. For example if you were to use SVM with rbf ...

8 years ago | 2

Why does quadprog return different results on different machines?

Did you provide the starting point yourself? If you have multiple optimums then the result will be sensitive to the starting poi...

8 years ago | 0