How do I repeat a column vector to make into one longer column vector?
Mostrar comentarios más antiguos
I have a column vector that has 24 values that I want to repeat 30 times into a column vector that has 720 values. How do I do this?
Respuesta aceptada
Más respuestas (1)
Geoff Hayes
el 12 de Feb. de 2019
z = rand(24, 1);
y = repmat(z, 30, 1);
1 comentario
Georgina Hammond
el 12 de Feb. de 2019
Categorías
Más información sobre Simulink 3D Animation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!