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

 Réponse acceptée

Thorsten
Thorsten le 20 Oct 2015
Modifié(e) : Thorsten le 20 Oct 2015

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by