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.
댓글 수: 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!