i want to read only non zero numerical from the matrix
古いコメントを表示
a=[0 0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7 0 0 0]
a(1,11:17)
then it will display
1 2 3 4 5 6 7
is there any code to read non zero numerical automatically
採用された回答
その他の回答 (1 件)
Walter Roberson
2012 年 1 月 19 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Descriptive Statistics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!