delete columns inside a cell based on null elements
2 次查看(过去 30 天)
显示 更早的评论
Hi! In this example:
union_cell = importdata("union_cell.mat");
I should know whether in the block included by rows 3:5 and columns 2:6, there are columns characterized by all null elements.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1418233/image.png)
For example, columns 4:6 have the three rows with null elements. I need to delete those columns and get this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1418238/image.png)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!