how to repeat specific rows?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a cell array and would like to repeat certain rows. how do I do this?
0 Kommentare
Antworten (1)
Jos (10584)
am 4 Mär. 2014
Something like this?
C = {'hello' ; rand(2,3) ; 1:5, 6}
ix = [1 1 2 3 3 3 4]
C = C(ix)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical 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!