Concatenating matrix with itself x number of times
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Aditya Palsule
am 1 Sep. 2015
Kommentiert: Aditya Palsule
am 1 Sep. 2015
I have t=[1 0 0;0 1 0; 0 0 1] size(t) is (3 3)
i need to make t with size of (x,3) where x is user input while element in t are repeated
eg if x=2 then t=[t;t]
if x=3 then t=[t;t;t]
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!