Removing empty rows in the table in the array
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to get rid off all the empty rows in the table fter I imported it in the cell array. My source array name is src_files and i this particular case I am trying to use 3rd one on the collum with a variable "Time".
I have tried two ways I found here and non of them are working.
Error I am having is : "Check for incorrect argument data type or missing argument in call to function 'isnan'."
src_files{3} = src_files{3}(:,~all(isnan(src_files{3}.Time)));
src_files{3}( all( isnan( src_files{3}.Time ), 2 ), : ) = [];
Thanks !
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!