Deleting zeros lines in a general matrix
Afficher commentaires plus anciens
[EDIT: Wed May 25 03:56:06 UTC 2011 - Clarify - MKF]
Hello, I'm working with the Pinch Point Analysis modeling in MATLAB and have a problem. The user has to insert an (n,3) matrix when the M-file starts, like
A = [a11 a12 a13; a21 a22 a23; ... ; an1 an2 an3], for any n lines.
And at some point it will turn into a matrix with some zeros lines, which we don't know how many are or in which line they are.
Is it possible to delete only the zero lines from this matrix? If yes, how? Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!