Power of quaternion
Calculate the power of 2 of quaternion
= [1.0 0 1.0 0].
qp = quatpower(quatnormalize([1.0 0 1.0 0]),2)
qp = -0.0000 0 1.0000 0
Quaternions for which to calculate exponentials, specified as an M-by-4 matrix containing M quaternions.
Power to which to calculate quaternion power, specified as an M-by-1 vector containing M power scalars.
qp— Power of quaternion
Power of quaternion.
 Dam, Erik B., Martin Koch, Martin Lillholm. "Quaternions, Interpolation, and Animation." University of Copenhagen, København, Denmark, 1998.