Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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 个评论
Stephen23
Stephen23 2018-3-22
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by