To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I have a unique sort function to search an array, and find at what points the data values change. Unfortunately it only works for data values that are increasing, and intermittently. It does not count all of the values.
[~,T] = unique(Torque,'first'); [T] = sort(T,'ascend');
Example Array [0 0 1 2 3 2 1 0 0 0 10 20 30 20 10 0 0 0 ]
I would like it to give me the line # everytime the value in the area changes from the previous one, and ideally set it for what increment to look for. Thanks, any help is appreciated.
No products are associated with this question.