find the minimum of a matrix

1 回表示 (過去 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.
  1 件のコメント
dav
dav 2014 年 7 月 13 日
thank you very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by