Everything Has At Least Two Indices
Arrays in MATLAB cannot have just one index, but rather must have at least two indices. This is especially confusing as literals like [0 1 2 3], which seem to have only one index, have an extent along the second index rather than the first:
>> x = [0 1 2 3] >> size(x, 1) 1 >> size(x, 2) 4
As a consequence, special cases are introduced into the language that serve only to confuse. "Row" and "column" objects simply do not behave in the same way as two-index and higher-rank tensors.












