How to find minimum values of all lines on matrix?

조회 수: 1 (최근 30일)
anil hamzacebi
anil hamzacebi 2019년 12월 6일
답변: Bhaskar R 2019년 12월 6일
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''.

채택된 답변

Bhaskar R
Bhaskar R 2019년 12월 6일
B = min(A, [], 2);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by