Repeat rows of matlab

19 Ansichten (letzte 30 Tage)
Cside
Cside am 5 Sep. 2019
Kommentiert: Cside am 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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by