Interpolate homogeneous transformations
To = trinterp(T0, T1, S) To = trinterp(To, S)
To = TRINTERP(T0, T1, S) is a homogeneous transform interpolation between T0 when S=0 to T1 when S=1. Rotation is interpolated using quaternion spherical linear interpolation. If S (Nx1) then To (4x4xN) is a sequence of homogeneous transforms corresponding to the interpolation values in S.
To = TRINTERP(To, S) is a transform that varies from the identity matrix when S=0 to To when R=1. If S (Nx1) then To (4x4xN) is a sequence of homogeneous transforms corresponding to the interpolation values in S.