Find out the minimum value from a column

3 Ansichten (letzte 30 Tage)
NIRBAN CHAKRABORTY
NIRBAN CHAKRABORTY am 30 Jan. 2022
Beantwortet: KSSV am 30 Jan. 2022
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by