Maximum of a row in a matrix

1 次查看(过去 30 天)
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 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by