Respondida Help using data from a trend line in my code.
Use polyfit to make the fit and polyval to evaluate the fit. For example:
p = polyfit(x,y,n); % get fit parameters
f = p...
Respondida Can I find nonnegative eigenvalues using eigs
Yes it is. At least if its a symmetric matrix. Else you can only get n-2 eigenvalues, where (n,n) is the size of the matrix. Jus...
más de 10 años hace | 0
Respondida plotting a 1*1 matrix
If your data is from simulink, it's probably a structure with time. To plot your data you have to do:
plot(current.time,cur...