Answered
Butterworth filter in simulink
It is indeed in the Signal Processing Toolbox as you can see here: http://www.mathworks.com/help/signal/ref/butter.html Yo...

13 years ago | 2

Answered
Undefined function 'lratiotest' for input arguments of type 'double'
This function is part of the econometrics toolbox, make sure you have the license and have the toolbox installed >> ver ...

13 years ago | 0

| accepted

Answered
xPC target: How to configure host and target computers?
Ethernet should work fine. Nothing needs to be installed in the target, but there are few settings you will need to make sure ar...

13 years ago | 0

| accepted

Answered
Are there any Matlab functions to use for optimization using particle swarm optimization technique?
Have you tried searching file exchange? Here's a submission : http://www.mathworks.com/matlabcentral/fileexchange/7506-partic...

13 years ago | 0

Answered
How to change starting direction in Matlab 2012a?
Specify what you would like to do in the startup.m file: http://www.mathworks.com/help/matlab/matlab_env/startup-options.html...

13 years ago | 0

| accepted

Answered
Slice plot causes MATLAB crash
This may be an OpenGL issue. To confirm, try the following: Restart MATLAB and before you run anything run: >> opengl so...

13 years ago | 0

| accepted

Answered
Any HDL Coder Limitation?
http://www.mathworks.com/help/releases/R2012b/hdlcoder/matlab-algorithm-design.html Not everything in MATLAB is supported. S...

13 years ago | 0

Answered
How to separate binary values ?
No direct way, but some jugglery: A = (reshape(binary',1,7*4))-'0'

13 years ago | 0

Answered
How to plot a probability density function on a histogram?
Do you have the statistics toolbox? If you do it is straight forward as this: Plot your regular histogram and then: h...

13 years ago | 1

Answered
Interpolation with some fix interval
You can do the following using interp1: a = randn(17,1);% a is some vector with length of 17 l = length(a); yi = inte...

13 years ago | 0

| accepted

Answered
How do I do parameters Estimation in SimBiology using Optimization toolbox?
Optimization is tricky business. You will have to see why you solver stopped and then relax the tolerances till you find a bette...

13 years ago | 0

Answered
How can I use simulink to solve the algebraic Riccati equation?
You will always solve the Riccati equation offline to compute your LQR gain matrix. You will then use your gain matrix in the si...

13 years ago | 0

Answered
can u help me in developing a program using uncertain k-means
http://www.mathworks.com/help/stats/kmeans.html kmeans in the statistics toolbox. Could you give more details or reference...

13 years ago | 0

Answered
How to reduce order of Matrix exponential?
If you want to reduce the order of your system you can use balred: http://www.mathworks.com/help/control/ref/balred.html

13 years ago | 0

Answered
What is the default installation path for Matlab on architecture X?
Are you looking for: >> matlabroot http://www.mathworks.com/help/matlab/ref/matlabroot.html

13 years ago | 2

Answered
How to plot axis and legend?
http://www.mathworks.com/help/matlab/ref/axes_props.html?searchHighlight=xticklabel Look for xticklabel, yticklabel in the ab...

13 years ago | 0

Answered
Discrete Dynamical System Problem, How to display a value of x that satisfies conditions when inputs to the equation are vectors?
To me it seems like it is bounded for c between (-2,0.2683) Here is the change I made to only print c for bounded solutions: ...

13 years ago | 0

Answered
Solve a second order differential equation
I really recommend going through our documentation and these things become intuitive. Most standard setup's usually have example...

13 years ago | 2

Answered
How can I pass additional parameters to a function I defined?
You can use anonymous functions to achieve just that: http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html#br...

13 years ago | 0

Answered
R2012b - Right Click Toolstrip items -> add to shortcuts - Not on all items
Robert, I am afraid I don't have an answer to 'why'. But I do know if you suggest this to support@mathworks.com they'd b...

13 years ago | 0

| accepted

Answered
Problem with nonlinear curve fitting - lsqcurvefit
Hi Alex, this link may help you get started: http://www.mathworks.com/help/matlab/math/example-curve-fitting-via-optimization...

13 years ago | 0

| accepted

Answered
save v7 vs v7.3 - compression is in which one?
matal, v7.3 uses hdf5 format, which offers several advantages over older format. It allows for files larger than 2 gb as well as...

13 years ago | 1

Answered
accuracy of svm model on test data?
Maybe what you are looking for is right here: http://www.mathworks.com/help/bioinfo/ug/support-vector-machines-svm.html#bs3tb...

13 years ago | 0

Answered
linear regession with 3 Independent variables
Issac, the simplest way is to use \ as Wayne mentioned: >> [ones(length(x),1) x]\y This will give you the three coeff...

13 years ago | 0

Answered
Principle Component Analysis - Problem in Example
Hi Rory, What version of MATLAB are you using? PCA (with supported for wighted and missing values) was introduced only in R201...

13 years ago | 0

| accepted

Answered
Generating A Multivariate Nonlinear Regression Equation
Ross, that is still multiple linear regression, although your model may be quadratic (square terms). Also in your individual ...

13 years ago | 0

Answered
Memory limitations for categorical variables in generalized linear model?
Categorical predictor variable are converted to dummy variables internally. Size depends on number of categorical variables and...

13 years ago | 0

Answered
sum of coefficients less than 1
Do you have the optimization toolbox? LSQNONNEG cannot handle constraints. Also, please format your code when you post. It ...

13 years ago | 1

| accepted

Answered
Faster way to calculate pairwise distance?
pdist http://www.mathworks.com/help/stats/pdist.html But part of the statistics toolbox. Alternatively you could gene...

13 years ago | 0

Answered
help with nonlinear regression
Your data does not represent a function at all (there are multiple values of y for an x) Are you interested in distribution f...

13 years ago | 0

| accepted

Load more