Why does test(2)=1 create a 1x2 array rather than a 2x1 array?
Mostrar comentarios más antiguos
Why does
test(2)=1
create a 1x2 array rather than a 2x1 array, when test has not been defined before? Is there any reasoning behind it?
Respuestas (1)
Walter Roberson
el 12 de Mzo. de 2016
1 voto
History.
So that when people do quick calculations, the results will show up across the page rather than using up a lot of vertical lines each with small amounts of output.
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!