maximum number and indexing
조회 수: 2 (최근 30일)
이전 댓글 표시
how can i find maximun number from an array for example .a=[2,44,6,77,3,9],how can i find max 2 numbers which are ,44 and 77 from a single command ? and how to know there index .thanks
댓글 수: 0
답변 (1개)
madhan ravi
2019년 4월 3일
maxk(a,2)
참고 항목
카테고리
Help Center 및 File Exchange에서 Point Cloud Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!