Extraction of non zero rows from a matrix
27 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Satinath Debnath
am 3 Nov. 2021
Kommentiert: Satinath Debnath
am 3 Nov. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!