Minimum y-value in each column

2 visualizzazioni (ultimi 30 giorni)
Hg
Hg il 20 Ott 2015
Modificato: Thorsten il 20 Ott 2015
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)

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by