how to delete cell rows ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
pruth
am 14 Okt. 2019
Beantwortet: Shubham Gupta
am 14 Okt. 2019
i have created this cell file(attached).
if you open it you will see almost all doubles has same size (7*5). But there are some doubles which has row size more than 7(see double 36th, 58th etc )
i want to delete all those doubles which has size more greater 7 !
all doubles should be of same same size i.e. 7*5
how to use this if condition here ??
pardon my english !
0 Kommentare
Akzeptierte Antwort
Shubham Gupta
am 14 Okt. 2019
One of the way to do:
cell_sizes = cellfun(@size,QDSCD,'UniformOutput',false);
cell_sizes = vertcat(cell_sizes{:});
ind = find(cell_sizes(:,1) == 7);
QDSCD_up = QDSCD(ind);
Let me know if you have doubts.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Filter Banks 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!