How to filter out rows with NaNs from one variable and the same rows from another variable without NaNs.
2 次查看(过去 30 天)
显示 更早的评论
I have a numerical variable X [506x24706] and a numerical variable Y [506x1]. Variable Y includes some NaNs. How can I filter out rows with NaNs from Y and at the same time filter out the same corresponding rows from X and create a new Y and a new X?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Frequency Transformations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!