Duplicating columns into a matrix
90 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alexander Engman
am 22 Mär. 2018
Bearbeitet: Jan
am 22 Mär. 2018
Hi!
I think this is very easy to solve, but I simply dont know what is the easiest way. Let's say I have a vector:
A=[1 2 3]
Now I want to repeat this column into a Matrix
B=[1 2 3; 1 2 3; 1 2 3]
How do I go about this?
Thanks in advance.
Alexander
0 Kommentare
Akzeptierte Antwort
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!