Find out the minimum value from a column
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposta accettata
KSSV
il 30 Gen 2022
Read about the function min.
A = rand(3,10) ;
iwant = min(A) % this is same as min(A,[],1)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!