I have a cell array with 60000 x 1, in each cell i have some structures 1 x 1 or 0 x 0, I need to extract the structures 1 x 1, how can I do this?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Okt. 2019

0 Stimmen

YourCell(~cellfun(@isempty,YourCell))

Weitere Antworten (1)

Anderson Oliveira
Anderson Oliveira am 20 Okt. 2019

0 Stimmen

Thanks a lot. It's really help me.

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by