I have an array and I want to know how many indexing values are needed for the value of the array to increase or decrease
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have an array and I want to know how many indexing values are needed for the value of the array to increase or decrease for example a unit or more. For example, a=[1 1 1 3 3 3 3 2 2 2] and the indexing values would be 4 and 8.
1 Comment
Stephen23
on 22 Mar 2018
duplicate:
https://www.mathworks.com/matlabcentral/answers/390078-i-have-an-array-and-i-want-to-know-how-many-indexing-values-are-needed-for-the-value-of-the-array-to
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!