How to find minimum values of all lines on matrix?

1 Ansicht (letzte 30 Tage)
anil hamzacebi
anil hamzacebi am 6 Dez. 2019
Beantwortet: Bhaskar R am 6 Dez. 2019
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''.

Akzeptierte Antwort

Bhaskar R
Bhaskar R am 6 Dez. 2019
B = min(A, [], 2);

Weitere Antworten (0)

Kategorien

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

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by