Community Profile

# Shashank Prasanna

### MathWorks

684 total contributions since 2012

Product Marketing, MathWorks
Statistics and Machine Learning Applications

View details...

Contributions in
View by

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

| accepted

Submitted

MATLAB files from the webinar

Submitted

Multilevel Mixed-Effects Modeling Using MATLAB
MATLAB files from the webinar

Submitted

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

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

nästan 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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....

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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....

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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

mer än 5 år 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 = ...

mer än 5 år ago | 0

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

mer än 5 år 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...

mer än 5 år 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 ...

mer än 5 år 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

mer än 5 år 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...

mer än 5 år ago | 2

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

mer än 5 år ago | 0

| accepted