Info

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

rearranging the elements of array

1 次查看(过去 30 天)
PRAVEEN GUPTA
PRAVEEN GUPTA 2019-9-18
关闭: MATLAB Answer Bot 2021-8-20
i have an array a=[1 0 2 2 2 1 1 1 2 2]
i want the location of each point that are arranged in ascending order like
s=[0 1 1 1 1 2 2 2 2 2 ] location must be like
loct=[2 1 6 7 8 3 4 5 9 10]

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by