Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

rearranging the elements of array

1 vue (au cours des 30 derniers jours)
PRAVEEN GUPTA
PRAVEEN GUPTA le 18 Sep 2019
Clôturé : MATLAB Answer Bot le 20 Août 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 commentaire
Walter Roberson
Walter Roberson le 18 Sep 2019
Second output of sort()

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by