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?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

产品

提问:

2015-11-18

Community Treasure Hunt

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

Start Hunting!

Translated by