Extraction of non zero rows from a matrix
20 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Satinath Debnath
el 3 de Nov. de 2021
Comentada: Satinath Debnath
el 3 de Nov. de 2021
I have a 12x3 matrix data in each of my measurement epoch. Sometimes, some of the rows are zero indicating no data in the channel. So, I want to extract only those rows without zero. I am using matlab find and index operator but it gives me the column vector instead of rows. How can I extract non-zero rows using simple index operator and without any loop. Any help would be appreciated. I have attached the snapshots of my work so far.
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!