如何在多维矩阵中找到最小值所在位置。

我是五维矩阵,输入这个后
[i1,m1,n1,j1,k1]=find(e==min(min(min(min(min(e))))))
出现
Error using find
Too many output arguments.
这里单独用find,得到211267。那它对应哪个位置?我是11*16*15*16*16的五维矩阵

 採用された回答

pokokim
pokokim 2022 年 11 月 17 日

0 投票

可以用ind2sub转换

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

質問済み:

2022 年 11 月 17 日

回答済み:

2022 年 11 月 17 日

Community Treasure Hunt

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

Start Hunting!