How can I remove empty arrays of cell
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Farshid Daryabor
am 16 Apr. 2020
Kommentiert: Stephen23
am 16 Apr. 2020
please find attached file, how can I remove empty row of cell arrays. Thanks in advance,
2 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 16 Apr. 2020
Run this
idx = cellfun(@(x) isempty(x), time);
time(idx) = [];
2 Kommentare
Stephen23
am 16 Apr. 2020
No need for an anonymous function:
idx = cellfun(@isempty, time);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!