Path: SC/DemoFuns
% Q2 transforms from A to B and Q1 transforms from B to C so Q3 transforms from A to C. If only one argument is input it produces the 4x4 matrix equivalent: q3 = Q2*q1; This uses the JPL convention (as opposed to Apollo) -------------------------------------------------------------------------- Form: Q3 = QMultJPL( Q2 ,Q1 ) -------------------------------------------------------------------------- ------ Inputs ------ Q2 (4,1) Quaternion from a to b Q1 (4,1) Quaternion from b to c ------- Outputs ------- Q3 (4,1) Quaternion from a to c or 4x4 version of q --------------------------------------------------------------------------
Back to the SC Module page