Repeat rows of matlab

154 visualizaciones (últimos 30 días)
Cside
Cside el 5 de Sept. de 2019
Comentada: Cside el 5 de Sept. de 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?

Respuesta aceptada

madhan ravi
madhan ravi el 5 de Sept. de 2019
repmat(matrix,10,1)
  1 comentario
Cside
Cside el 5 de Sept. de 2019
thanks madhan :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by