min value of each row with corresponding column
1 回表示 (過去 30 日間)
古いコメントを表示
How to do the following?
If there are three columns and I want to get the min value of each row and I want to know from which column was this value
0 件のコメント
採用された回答
Dyuman Joshi
2023 年 11 月 1 日
y = magic(3)
%Utilize the functionality of min()
[m,idx] = min(y, [], 2)
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!