MATLAB Answers

Repeat rows of matlab

23 views (last 30 days)
Charms
Charms on 5 Sep 2019
Commented: Charms 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?

  0 Comments

Sign in to comment.

Accepted Answer

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

  1 Comment

Charms
Charms on 5 Sep 2019
thanks madhan :)

Sign in to comment.

More Answers (0)

Sign in to answer this question.