deleting rows containing NaN

113 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by