已回答
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...

11 years 前 | 0

已回答
error: In an assignment A(I) = B, the number of elements in B and I must be the same.
Probably this line: b=b+N(j)*q(Element,j); Element is a vector itself. It should be a scalar but i dont know exactl...

11 years 前 | 0

已回答
Is it possible to calcuilate intergtal from time t-A to t (backward integration/~moving average)?
Yes, you can use tsmovavg for example.

11 years 前 | 0

已回答
How to interpolate gridded data for a single point?
griddata maybe?

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0