Repeat rows of matlab

71 views (last 30 days)
Cside
Cside on 5 Sep 2019
Commented: Cside on 5 Sep 2019
I have a 1 x 10 matrix and would like to duplicate the same row (and same data) to a 10x 10 matrix. How may I do this?

Accepted Answer

madhan ravi
madhan ravi on 5 Sep 2019
repmat(matrix,10,1)

More Answers (0)

Categories

Find more on Get Started with 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!