replicating/copy part of Cell Array
45 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Scragmore
il 29 Nov 2011
Modificato: Astik Sachan
il 10 Mag 2017
I have Cell Array;
CA{100,5}
is there a function/syntax to copy a section of a cell array in a similar fashion to copying a matrix;
NewCA = CA{1:50, 4:5};
or do I have to cell copy using a loop.
Thanks,
AD
0 Commenti
Risposta accettata
Più risposte (1)
Astik Sachan
il 10 Mag 2017
Modificato: Astik Sachan
il 10 Mag 2017
CA{100,5}; %you have
tempCA = {CA{1:50,4:5}};
NewCA = reshape(tempCA,[50,2]);
Try this!
0 Commenti
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!