colon, :
Create vectors, array subscripting
Description
returns
a regularly-spaced vector, [j, j+1 ,..., k]. y = j:kj: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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2013b