find the minimum of a matrix

3 次查看(过去 30 天)
dav
dav 2014-7-13
评论: dav 2014-7-13
Hi,
Can someone please help me to find the row number corresponding to the minimum value of the jth column of a matrix?
thanks.

采纳的回答

James Tursa
James Tursa 2014-7-13
[val idx] = min(X(:,j));
idx will be the row number.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by