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

 Akzeptierte Antwort

Thorsten
Thorsten am 20 Okt. 2015
Bearbeitet: Thorsten am 20 Okt. 2015

0 Stimmen

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

Weitere Antworten (0)

Produkte

Tags

Gefragt:

Hg
am 20 Okt. 2015

Bearbeitet:

am 20 Okt. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by