indmax

バージョン 1.0.0.0 (322 Bytes) 作成者: Andreas Hoechner
Finds maximum and its index of an N-dimensional array.
ダウンロード: 901
更新 2008/1/30

ライセンスがありません

[ind,maxi]=indmax(x)

Finds index to and maximum of N-dimensional array

ind is cell array
maxi is scalar

Example:
r=rand([2 3 4])
[ind,maxi]=indmax(r)
so that
maximum=r(ind{:})

引用

Andreas Hoechner (2024). indmax (https://www.mathworks.com/matlabcentral/fileexchange/18518-indmax), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0