フィルターのクリア

Delete zero values in works pace variable

1 回表示 (過去 30 日間)
missC
missC 2014 年 7 月 23 日
コメント済み: missC 2014 年 7 月 23 日
Hi, How to delete zero values in the workspace variable and save the updated value (without zero) into another variable?
Great Thanks

採用された回答

Julia
Julia 2014 年 7 月 23 日
a=[1 2 3 0 4 5 0 6 7]
a =
1 2 3 0 4 5 0 6 7
>> a=a(a>0)
a =
1 2 3 4 5 6 7
  1 件のコメント
missC
missC 2014 年 7 月 23 日
great, Thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNaNs についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by