Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Sören
Sören am 18 Nov. 2015
Beantwortet: Walter Roberson am 12 Mär. 2016
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?

Antworten (1)

Walter Roberson
Walter Roberson am 12 Mär. 2016
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.

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by