Clear Filters
Clear Filters

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

2 views (last 30 days)
Tomas
Tomas on 10 Nov 2013
Commented: Tomas on 10 Nov 2013
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

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!