how to find five to ten minimum values in a matrix of array nx1 i,e. 1st min , 2nd min and so on..

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 3월 29일

0 개 추천

Use sort function
a=sort(A)
out=a(1:10)

추가 답변 (0개)

카테고리

도움말 센터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!

Translated by