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

how delete []; when I have Z= [] {1x7 cell} {1x2 cell}
and i want to have Z= {1x7 cell} {1x2 cell}

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 10 Nov 2013
Edited: Azzi Abdelmalek on 10 Nov 2013
z(cellfun('isempty',z))=[]

More Answers (0)

Categories

Asked:

on 10 Nov 2013

Commented:

on 10 Nov 2013

Community Treasure Hunt

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

Start Hunting!