Sorting and finding index with Simulink (without Matlab function block or any toolbox)
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Asit Kumar
am 8 Jul. 2019
Beantwortet: Vineeth Tom
am 10 Jul. 2019
I need to sort an incoming array and find the indices of the first nth smallest numbers in the array. I need to accomplish this without any toolbox or Matlab function.
0 Kommentare
Akzeptierte Antwort
Vineeth Tom
am 10 Jul. 2019
Hope this helps. It cannot do its job if there are repeating elements. This sorts an array of unique elements
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Shifting and Sorting Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!