Getting the 3 lowest values in a vector Matlab
조회 수: 6 (최근 30일)
이전 댓글 표시
How would I be able to get the 3 minimum values from a vector of values, starting from the lowest one to the higher values?
a = [12,3,9, 5.6, 9, 10, 7]
Expected Output:
[3, 5.6, 7]
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!