my question is how to get the following format?
Show older comments
Hi, I have a row, and I want to get a matrix by repeating this row as follow r=[ 1 2 3 4]
matrix=[ 1 2 3 4; 1 2 3 4; 1 2 3 4]
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!