필터 지우기
필터 지우기

find the minimum of a matrix

조회 수: 3 (최근 30일)
dav
dav 2014년 7월 13일
댓글: dav 2014년 7월 13일
Hi,
Can someone please help me to find the row number corresponding to the minimum value of the jth column of a matrix?
thanks.

채택된 답변

James Tursa
James Tursa 2014년 7월 13일
[val idx] = min(X(:,j));
idx will be the row number.
  댓글 수: 1
dav
dav 2014년 7월 13일
thank you very much!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by