Questions tagged as 'matlab'

1
answer

SVM MATLAB stats give test error

The following MATLAB code trains a MATLAB binary classifier given a set of vectors and tests another set of vectors in that classifier: %Número mínimo de iterações optSVM = statset('MaxIter', 1000000); %treino do classificador SVMtrain...
asked by 28.04.2014 / 19:12
2
answers

loop step size for MATLAB

I have the following loop in MATLAB, I would like to know how to make my variable k be incremented from 0.15 by 0.15 until it reaches 10. for k=1:1:10 %... end     
asked by 01.11.2018 / 22:15
1
answer

Export an array of data from matlab to excel

I have a file with multiple arrays, as described: Name Value lat <162x168 single> lon <162x168 single> obsData <162x168x4929 double> time <5844x3 double> v6Data <162...
asked by 28.04.2017 / 19:31
1
answer

Adding elements to an array in matlab

I basically need inside a for, add elements to an array or list (I do not know if it has the language) and then split the values by the number of interactions. Very simple, if it was in any other language, but since I have little or no knowledge...
asked by 25.11.2015 / 01:50
1
answer

Programming in MATLAB

I have a simulation ready in MATLAB and every time I run I need to save the result. What command do I use to save each result separately and then merge all and see which curve fits these results?     
asked by 25.03.2015 / 02:00
1
answer

How do I find the singular values of an array?

How do I find the unique values of an array in MATLAB?     
asked by 30.10.2014 / 01:24
1
answer

Mount a matrix in RGB that is equivalent to a GrayScale with an altered color

I have a Matlab array of one dimension ie grayscale, but I would like to create an RGB equivalent in which all black of this, i.e. all zero is a green tone. And let all other white and gray colors be kept from the original matrix in the same col...
asked by 15.05.2014 / 18:49
1
answer

solve code in matlab? [closed]

Could anyone help me with this problem? I need to multiply an expression by 'x' and get the result. The expression is: A1 - A1 * x + 2 * A2 * x - A2 x ^ 2 + 3 * A3 * x ^ 2 - A3 * x ^ 3 + 4 * A4 * 4 + 5 * A5 * x ^ 4 - A5 * x ^ 5 - 1 I ne...
asked by 06.11.2017 / 22:02
1
answer

How to know each pixel of a superpixel in MatLab?

I'm doing a program in MatLab using the computer vision addon. I used the superpixels function to get the array of labels. From what I understand this matrix represents which label (superpixel) each pixel of the image belongs to. But there's som...
asked by 26.10.2017 / 23:44
0
answers

Correction of image coordinates in MATLAB

Good morning, I am a beginner in MATLAB and I believe you are having problems with simple questions but a little help would be a great contribution. I'm trying to perform coordinate correction of an image of size 2048x2048. As I want th...
asked by 11.08.2017 / 20:19