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

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 日

1 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

タグ

質問済み:

2020 年 2 月 9 日

回答済み:

2020 年 2 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by