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 Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by