Concatenate array using square brackets
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Quang Nguyen
el 26 de Oct. de 2022
Comentada: Voss
el 26 de Oct. de 2022
x = zeros(1,9);
x = [1, x(1:9)];
when i run the second line multiple times, it starts to fill in the array x. I want to ask what is the functionality of the second line, and is there any documentation that describes this syntax ?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices 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!