Filter löschen
Filter löschen

Sorting corresponding index if the position sorted in descend order?

1 Ansicht (letzte 30 Tage)
Rubel Ahmed
Rubel Ahmed am 22 Sep. 2021
Bearbeitet: Rubel Ahmed am 23 Sep. 2021
Hi all,
I have one dimensional particle aarray say P and the corresponding index I. Later, I have sorted the position data in descending order using descend comand like P_N. Now I want to done the change of the corresponding index effeciently(Since my original array is too large,thats whyI am not interested to use loop) as I_N. Thanks.

Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by