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일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2022년 1월 30일

답변:

2022년 1월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by