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}

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 10 Nov 2013
Modifié(e) : Azzi Abdelmalek le 10 Nov 2013

0 votes

z(cellfun('isempty',z))=[]

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by