Repeat rows of matlab

74 visualizzazioni (ultimi 30 giorni)
Cside
Cside il 5 Set 2019
Commentato: Cside il 5 Set 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?

Risposta accettata

madhan ravi
madhan ravi il 5 Set 2019
repmat(matrix,10,1)

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by