deleting rows containing NaN

51 ビュー (過去 30 日間)
Varun Agrawal
Varun Agrawal 2015 年 4 月 7 日
コメント済み: Tan Nguyen 2020 年 10 月 21 日
I have 2 columns and 1000+ rows matrix. I want to delete the rows in which either column 1 or 2 is NaN
thank you

採用された回答

Thomas Koelen
Thomas Koelen 2015 年 4 月 7 日
編集済み: madhan ravi 2020 年 6 月 5 日
Array(any(isnan(Array),2),:) = [];
  4 件のコメント
Frank Pernett
Frank Pernett 2020 年 6 月 5 日
Thank you!!
Tan Nguyen
Tan Nguyen 2020 年 10 月 21 日
nice

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

その他の回答 (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