Deleting zeros lines in a general matrix
古いコメントを表示
[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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!