Answered
How to generate matrix using MATLAB ?
There isn't a right answer. Here is one: X = eye(4); X(:,repmat(1:4,4,1)) Change 4 to something else if you want to ...

10 years ago | 0

| accepted

Answered
svmclassify is extremely slow
Hi Jakob, Do you have access to MATLAB prerelease? http://www.mathworks.com/matlabcentral/answers/101155 If you do, fee...

10 years ago | 0

Answered
fmincon multiple optimal solution
If you use the same starting point you must get the same results. If you use the Trust-Region-Reflective algorithm for the solv...

10 years ago | 1

Answered
Support Vector Machine could not fix this problem
The iris dataset is 3 classes. The SVMTRAIN function in the Statistics Toolbox can only solve binary classification problems. Ho...

10 years ago | 0

Answered
How can I calculate Sum of Squared Errors of two matrices of a different number of rows
Synchronize your data to a common time scale and then compute your error measure. http://www.mathworks.com/help/matlab/ref/ti...

10 years ago | 0

| accepted

Answered
Neural network result errors seem to be random (not reproducible)
Weights are initialized randomly. If you want to reproduce the results, one way is to reset the random seed each time you run t...

10 years ago | 5

| accepted

Answered
How does predict work for classification tree algorithm?
Type: >> view(obj) you can visualize the tree. predict generates predictions by following the branches of tree until ...

10 years ago | 0

| accepted

Answered
How can I fit data into Gaussian model?
That's a very small dataset. Do you know how many clusters are there? Did you try: n = numbers_of_clusters obj = gmdist...

10 years ago | 0

Answered
Presample states for ARMA model, Question for function arima and simulate
*Case 1:* If the lag order polynomial has mag of all roots < 1, it is stable. e.g: y(t) = 0.9*y(t-1) + e The AR model ...

10 years ago | 0

Answered
Monte Carlo code for scenario generation
You need to be able to draw random samples from a specified distribution. Notice that there are several things unspecified in...

10 years ago | 0

Answered
Question on covariance matrix loop
If you want to stack 2000 cov matrices then you may want to use 3D matrices, VarCov(:,:,i) = cov(AB(j:k,:)); Here for eac...

10 years ago | 0

Answered
How can i use aic to regression model and time series models matlab R2006a ?
AICBIC function is available in the Econometrics Toolbox: http://www.mathworks.com/help/econ/aicbic.html If you don't have...

10 years ago | 0

| accepted

Answered
generating numbers with fixed difference
You can use simple indexing or linspace: http://www.mathworks.com/help/matlab/ref/linspace.html

10 years ago | 0

| accepted

Answered
Can I increase the number of worker threads the parallel toolbox uses?
Intel CPUs with hyper-threading give the appearance that a computer has twice as many cores than it actually has. The additiona...

10 years ago | 0

| accepted

Answered
where is fitglm function in statistic Toolbox of 2013a
|fitglm| was introduced in R2013b release. Here is the release notes: http://www.mathworks.com/help/stats/release-notes.html?...

10 years ago | 1

| accepted

Answered
How can I use the Support Vector Machine (SVM) for making classification of trajectories of many objects
The link you provided has two full examples of classification using SVM. Did you try running those? Do you have specific questio...

10 years ago | 0

Answered
Finding the zeros of a function
Did you try this? http://www.mathworks.com/help/matlab/ref/fminbnd.html

10 years ago | 1

Answered
Symbollically solving Ax=b
It does. >> syms a b c d x1 x2 b1 b2 >> x = solve([a,b;c,d]*[x1;x2]==[b1;b2]) >> x.x1 >> x.x2 You can start he...

10 years ago | 0

Answered
How to interpret this result from lbqtest?
Those p-values are quite large compared to default significance of 0.05 If the p-value was less than 0.05, h will be 1 and it i...

10 years ago | 1

Answered
Is Matlab/Simulink version R2010a compatible with Windows 8?
Windows 8: Support for Windows 8 begins in R2012a for x86-based computers. http://www.mathworks.com/support/sysreq/roadmap.h...

10 years ago | 0

Answered
Will student version work on Windows 8 64bit system?
A 32-bit MATLAB will run on a 64-bit OS if that's the question. Here is the system requirements page for student release: ...

10 years ago | 0

Answered
help with linear regression function
fitlm is a convenience interface function for LinearModel.fit that was introduced in MATLAB R2013b. If you are using an earlier...

10 years ago | 0

| accepted

Answered
How do I classify heart sounds using Euclidean distance?
You haven't provided much detail about the nature of the problem, but it appears that kNN classifier might be what you are looki...

10 years ago | 0

Answered
How to create Neural Network classifier for pattern Recognition ?
Here is a walk through example of how to do pattern classification using the Neural Network Toolbox: http://www.mathworks.com...

10 years ago | 1

Answered
-v7.3 switch
If the file is larger than 2GB then you will have to use 7.3. You can choose the version 7.3 option in the MATLAB preferences. ...

10 years ago | 4

| accepted

Answered
self tunable PID controller
If you know your operating points you can gain schedule different PIDs: http://www.mathworks.com/help/robust/gain-scheduled-c...

10 years ago | 0

Answered
What tablets are capable of downloading and running Matlab? Thanks.
MATLAB Mobile is available for both Android tablets as well as iPads. These apps enable you to connect to either a local MATLAB ...

10 years ago | 1

| accepted

Answered
Confusion on function handles
You need to precede your operations with a dot "." as described here: http://www.mathworks.com/help/matlab/matlab_prog/array-...

10 years ago | 2

Answered
How to cluster training data before training a neural network
Could you explain further? There are a number of ways to cluster your data: Statistics Toolbox: http://www.mathworks.com/h...

10 years ago | 0

| accepted

Answered
How can I write for fit using cftool?
Are you able to do this on CFTOOL? if you are then you can go to File > Generate Code This will automatically generate the MA...

10 years ago | 0

Load more