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

조회 수: 3 (최근 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.

채택된 답변

Vineeth Tom
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개)

카테고리

Help CenterFile Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by