find array indices of minimum value in a 2Darray

1 次查看(过去 30 天)
I have a 2d array with a minimum vakue of 50
How do I find the array indices for this value?

回答(2 个)

Walter Roberson
Walter Roberson 2021-1-31
[r, c] = find(A==min(A, [], 'all');
  5 个评论

请先登录,再进行评论。


Charles Mistretta
really appreciate Walters response - very helpful

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by