Find out the minimum value from a column

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 件)

カテゴリ

製品

リリース

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