saving or not matrices
古いコメントを表示
Hi,
I'm looking for a way of saving matrices depending on their content.
My loop is generating matrices that I want to save, however sometimes there is no proper values in it (only zeros that i replace by NaN).
I'd like to save only the matrices that have at least one proper value (> 0), but not the ones that have only zeros or NaN.
cheers
1 件のコメント
manoj saini
2011 年 6 月 21 日
if a(:)~=0
%save matrix
end
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!