Create vectors, array subscripting
returns
a regularly-spaced vector, [j, j+1 ,..., k]. y
= j
:k
j:k
is
empty when j > k
.
At least one of the colon operands must be a fi
object.
All colon operands must have integer values. All the fixed-point operands
must be binary-point scaled. Slope-bias scaling is not supported.
If any of the operands is complex, the colon
function
generates a warning and uses only the real part of the operands.
y = colon(j,k)
is the same as y
= j:k
.