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?

 Réponse acceptée

madhan ravi
madhan ravi le 5 Sep 2019

1 vote

repmat(matrix,10,1)

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by