Minimum y-value in each column

3 visualizaciones (últimos 30 días)
Hg
Hg el 20 de Oct. de 2015
Editada: Thorsten el 20 de Oct. de 2015
How to find the first y value (in red) efficiently in each column of the image below?

Respuesta aceptada

Thorsten
Thorsten el 20 de Oct. de 2015
Editada: Thorsten el 20 de Oct. de 2015
[~,idx] = max(X);
Note that this returns 1 for columns that are all zero.

Más respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by