how to know the column numbers of a matrix which contains values less than 50.

2 visualizaciones (últimos 30 días)
I want to know the column numbers of a matrix which contains values less than 50.
how to do this???

Respuesta aceptada

KSSV
KSSV el 16 de Abr. de 2019
Editada: KSSV el 16 de Abr. de 2019
Let A be your row matrix.
idx = A<50 ;
idx = find(idx)

Más respuestas (0)

Categorías

Más información sobre NaNs en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by