필터 지우기
필터 지우기

Find out the minimum value from a column

조회 수: 4 (최근 30일)
NIRBAN CHAKRABORTY
NIRBAN CHAKRABORTY 2022년 1월 30일
답변: KSSV 2022년 1월 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?

채택된 답변

KSSV
KSSV 2022년 1월 30일
Read about the function min.
A = rand(3,10) ;
iwant = min(A) % this is same as min(A,[],1)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by