How to find minimum values of all lines on matrix?

1 visualizzazione (ultimi 30 giorni)
i have a 1180x231 matrix named ''A''. i need to create a 1180x1 or 1x1180 matrix named ''B'' that gives minimum values of lines from ''A''.

Risposta accettata

Bhaskar R
Bhaskar R il 6 Dic 2019
B = min(A, [], 2);

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by