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]
  1 件のコメント
Walter Roberson
Walter Roberson 2019 年 9 月 18 日
Second output of sort()

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by