maximum number and indexing

조회 수: 2 (최근 30일)
asad jaffar
asad jaffar 2019년 4월 3일
댓글: Jan 2019년 4월 5일
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

답변 (1개)

madhan ravi
madhan ravi 2019년 4월 3일
  댓글 수: 7
Walter Roberson
Walter Roberson 2019년 4월 3일
Jan
Jan 2019년 4월 5일
@asad: If madhan's answer solves your problem, be so kind to accept it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by