ones
Create quaternion array with real parts set to one and imaginary parts set to zero
Syntax
Description
returns a scalar quaternion with the real part set to 1 and the imaginary parts
set to 0.quatOnes = ones("quaternion")
Given a quaternion of the form , a quaternion one is defined as .
returns a quatOnes = ones(sz1,...,szN,"quaternion")sz1-by-...-by-szN array of ones
where sz1,…,szN indicates the size of each
dimension.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2018a