how to repeat specific rows?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a cell array and would like to repeat certain rows. how do I do this?
0 Commenti
Risposte (1)
Jos (10584)
il 4 Mar 2014
Something like this?
C = {'hello' ; rand(2,3) ; 1:5, 6}
ix = [1 1 2 3 3 3 4]
C = C(ix)
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical 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!