Repeat rows of matlab

70 次查看(过去 30 天)
Cside
Cside 2019-9-5
评论: Cside 2019-9-5
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?

采纳的回答

madhan ravi
madhan ravi 2019-9-5
repmat(matrix,10,1)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by