How do i find a maximum elements in a specific row ?

1 次查看(过去 30 天)
I want to find a maximum elements in a second row of this 3x3 matrix?
[1,2,3;4,5,6;7,8,9]

采纳的回答

Chuguang Pan
Chuguang Pan 2020-2-9
A=[1,2,3;4,5,6;7,8,9];
M=max(A(2,:))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by