Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

rearranging the elements of array

1 Ansicht (letzte 30 Tage)
PRAVEEN GUPTA
PRAVEEN GUPTA am 18 Sep. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Walter Roberson
Walter Roberson am 18 Sep. 2019
Second output of sort()

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by