Create SE(3) transformation with no translation but with a rotation defined by an axis-angle rotation. Define the axis-rotation with vector of [0.5 0.25 0.5] to be the axis and a pi/2 rotation about that axis.
axa1 = [0.5 0.25 0.5 pi/2];
T = se3(axa1,"axang");
Get the axis-angle rotation from the transformation.
Create SO(3) transformation with a rotation defined by an axis-angle rotation. Define the axis-rotation with vector of [0.5 0.25 0.5] to be the axis and a pi/2 rotation about that axis.
axa1 = [0.5 0.25 0.5 pi/2];
R = so3(axa1,"axang");
Get the axis-angle rotation from the transformation. Note that the vector of the axis-angle rotation has a different magnitude from the axis-angle rotation specified to the transformation but the defined axis and rotation are the same.
Axis-angle rotation angles, specified as an N-by-4 matrix of
N axis-angle rotations. The first three elements of
every row specify the rotation axes, and the last element defines the rotation angle, in
radians.