Maximum of a row in a matrix

조회 수: 1 (최근 30일)
Giannakis Stoukas
Giannakis Stoukas 2015년 4월 27일
편집: Stephen23 2015년 4월 28일
I want the maximum of a specific row in a matrix

채택된 답변

Stephen23
Stephen23 2015년 4월 27일
편집: Stephen23 2015년 4월 28일
Use max, and some indexing if needed:
A = [...]; % some matrix
N = 3; % the row that you want
max(A(N,:))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by