Path: AC/ACCoord
% Convert from the ECI frame to the NED frame.
--------------------------------------------------------------------------
Form:
b = ECIToNED( r, opt, f )
--------------------------------------------------------------------------
------
Inputs
------
r (3,1) Position vector ECI
opt (1,:) 'matrix' or 'quaternion'
(default is matrix)
f (1,1) Flattening factor (optional)
-------
Outputs
-------
b (3,3) Transformation matrix
(4,1) Quaternion
--------------------------------------------------------------------------
Reference: Stevens, B.L., Lewis, F.L., Aircraft Control and Simulation,
John Wiley & Sons, 1992, p. 36.
--------------------------------------------------------------------------
Common: Quaternion/Mat2Q
Back to the AC Module page