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

0 Stimmen

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 Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Gefragt:

am 30 Jan. 2022

Beantwortet:

am 30 Jan. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by