Sorting and finding index with Simulink (without Matlab function block or any toolbox)
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Vineeth Tom
2019 年 7 月 10 日
Hope this helps. It cannot do its job if there are repeating elements. This sorts an array of unique elements
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Shifting and Sorting Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!