Minimum y-value in each column

How to find the first y value (in red) efficiently in each column of the image below?

 採用された回答

Thorsten
Thorsten 2015 年 10 月 20 日
編集済み: Thorsten 2015 年 10 月 20 日

0 投票

[~,idx] = max(X);
Note that this returns 1 for columns that are all zero.

その他の回答 (0 件)

カテゴリ

製品

タグ

質問済み:

Hg
2015 年 10 月 20 日

編集済み:

2015 年 10 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by