delete empty [] {1x7 cell} {1x2 cell}

1 次查看(过去 30 天)
how delete []; when I have Z= [] {1x7 cell} {1x2 cell}
and i want to have Z= {1x7 cell} {1x2 cell}

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-11-10
编辑:Azzi Abdelmalek 2013-11-10
z(cellfun('isempty',z))=[]

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by