Answered
How to show exact answers in MATLAB
Use |format| to reset your display format or choose a different display format: >> format http://www.mathworks.com/help/...

12 years ago | 0

Answered
How to watch recorded webinars?
Can you share the specific webinar name and link you are talking about? I can look into it to make sure you have access what w...

12 years ago | 0

Answered
how to train svm classifier using kernel function
Start with the documentation here: http://www.mathworks.com/help/stats/support-vector-machines-svm.html#bsr5b6n Try those ...

12 years ago | 0

Answered
Store logistic regression models in an array?
mdl = GeneralizedLinearModel.stepwise(....) Model{1} = mdl; Model{2} = mdl; Storing the models in a cell array wo...

12 years ago | 0

| accepted

Answered
Trouble Opening .dat Files in R2013b
It appears that it is a MAT file that has a dat file extension. Could you try the following on the command line: >> load...

12 years ago | 0

| accepted

Answered
system of linear equations but with condtions that all variables should be > 0
If you'd like to add positive constraints then you can use a solver in the Optimization Toolbox called LSQNONNEG. If you'd like ...

12 years ago | 1

Answered
How to compute an indefinite integral?
>> int(1000,t,0,t) The limits go in as the 3rd and the 4th arguments seperately: http://www.mathworks.com/help/symbolic/...

12 years ago | 0

Answered
how to calcuate mean with NaN
You can use the NANMEAN function part of the Statistics Tbx: http://www.mathworks.com/help/finance/nanmean.html http://www...

12 years ago | 0

Answered
how can Write matlab code for CDF and PDF
Can you provide more information? What random numbers are you working with? Take a look at all the supported distributions. A...

12 years ago | 0

Answered
How to find all neighbours of an element in N-dimensional matrix
If you have the Statistics Toolbox installed, there are couple of nearest neighbor searching tools that you might find very usef...

12 years ago | 2

Answered
how to insert noise in a sine function.
I'd use |randn| because white noise or gaussian noise is more natural then uniform random noise. noisy_y = y + noiseAmpli...

12 years ago | 0

Answered
normal distribution from data
Since this is normal distribution, the mean and std of the data are the maximum likelihood estimates for the normal distribution...

12 years ago | 0

Answered
Classification and Combination Problem
Start with KMEANS to perform the clustering. You can specify the number of classes or clusters but you can't enforce 'at least 1...

12 years ago | 0

Answered
Using fmincon for a very costly objective function
Hi Danny, since you are optimizing within the objective function, this maybe a be non-smooth problem. Which means FMINCON ma...

12 years ago | 1

Answered
Image Processing with Backpropagation algorithm
Hi Elvin, what you are proposing is a supervised learning approach. backpropogation (Neural Networks) to train your data is one ...

12 years ago | 1

Answered
find k nearest neighbours for each element in a matrix
*Eg : I want to find 5 nearest neighbours for A(1,2).* That does not make much sense. You are finding neighbors of A(i,:), i....

12 years ago | 0

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

12 years ago | 11

| accepted

Answered
MATLAB help (finding all the possible values for x)?
syms x x = solve(1.8*cos(1.8*x)+1.2*cos(1.2*x)) This gave me the analytical solution. A more feasible way would be to...

12 years ago | 1

| accepted

Answered
Come si calcola il VaR ad un mese???
I don't speak Italian, but here is what I understand from google translate. Once you have your returns series convert them to...

12 years ago | 0

Answered
using rand to generate numbers
Try executing it and seeing it for yourself. rand just generats one random number and adds it to each element of the vector: ...

12 years ago | 0

Answered
Difficulty Solving for parameters of a non-linear curve fit to data
FMINSEARCH like most optimization algorithms are sensitive to initial guess or starting point. Did you try to provide different ...

12 years ago | 0

Answered
Huge problem when I import data from Yahoo
Martin, the problem is not with Yahoo but with the name provided to a struct dynamic field name. Price.(ticker{i}) for *...

12 years ago | 0

Answered
Can Mathlab solve this
You can solve a system of nonlinear equations using FSOLVE: http://www.mathworks.com/help/optim/ug/fsolve.html This will y...

12 years ago | 0

Answered
Too many input arguments-ga mixed integer optimiazation
Joe, GA is part of the Global Optimization Toolbox. However it is possible that you have another version of GA that is not shipp...

12 years ago | 0

Answered
Java issue starting Matlab 2012b on OS X Mountain Lion (10.8.4)
Please verify that you have the right java update: http://www.mathworks.com/matlabcentral/answers/79489-java-1-6-0_51-breaks-...

12 years ago | 0

Answered
More efficient way to export output to Excel
You can use the com interface directly. XLSWRITE does this each time when you call it. Here is an example: http://www.math...

12 years ago | 1

Answered
Matrix left division with constraints?
Your best bet is LSQLIN if you have constraints for a linear system. http://www.mathworks.com/help/optim/ug/lsqlin.html S...

12 years ago | 0

Answered
Is the optimtool created by MATLAB's GUI? If so, where is its .fig file? I will join optimtool with another program and I would need its .fig file. Can anyone help me?
OPTIMTOOL is a built in app and it is not meant to be modified or deployed. Could you elablorate on what is your end goal and...

12 years ago | 0

Answered
mex cpp file in ubuntu
As the warning says you are using an unsupported version of the GCC compiler. Use the support compiler: http://gcc.gnu.org...

12 years ago | 0

Answered
Using assumptions while curve fitting
Curve fitting tools will fit the equation you are trying to model. This equation may very well only be called for values of x < ...

12 years ago | 0

| accepted

Load more