Minimum y-value in each column

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

 Risposta accettata

Thorsten
Thorsten il 20 Ott 2015
Modificato: Thorsten il 20 Ott 2015
[~,idx] = max(X);
Note that this returns 1 for columns that are all zero.

Più risposte (0)

Prodotti

Tag

Richiesto:

Hg
il 20 Ott 2015

Modificato:

il 20 Ott 2015

Community Treasure Hunt

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

Start Hunting!

Translated by