UnitVector
UnitVector(position)returns a unit vector with element
1at the givenposition.
UnitVector(dimension, position)returns a unit vector with dimension
dimensionand an element1at the givenposition.
See:
Examples
>> UnitVector(4,3){0,0,1,0}Implementation status
- ✅ - full supported