Why does test(2)=1 create a 1x2 array rather than a 2x1 array?

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 (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 18 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by