How to create an array with repeating values of a vector
60 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Harald von der Osten
el 7 de Abr. de 2020
Comentada: Harald von der Osten
el 7 de Abr. de 2020
how can I create a matrix based on the vector v = [12.56, 65.23, 5.67], which is repeated 20 times? So that the matrix M look like:
M = [12.56 65.23 5.67 ; 12.56 65.23 5.67 ; 12.56 65.23 5.67; .... ; 12.56 65.23 5.67] ?
Thanks a lot.
Harry
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and 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!