Find out the minimum value from a column
조회 수: 5 (최근 30일)
이전 댓글 표시
Suppose I have a matrix of [3*10] now i want to find the minimum value from each column what will be the command for that?
댓글 수: 0
채택된 답변
KSSV
2022년 1월 30일
Read about the function min.
A = rand(3,10) ;
iwant = min(A) % this is same as min(A,[],1)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!