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

1 visualizzazione (ultimi 30 giorni)
Tomas
Tomas il 10 Nov 2013
Commentato: Tomas il 10 Nov 2013
how delete []; when I have Z= [] {1x7 cell} {1x2 cell}
and i want to have Z= {1x7 cell} {1x2 cell}

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by