Sorting and finding index with Simulink (without Matlab function block or any toolbox)

3 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Vineeth Tom
Vineeth Tom le 10 Juil 2019
Hope this helps. It cannot do its job if there are repeating elements. This sorts an array of unique elements

Plus de réponses (0)

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by