Path: Interplanetary/AlphaCentauri
% Model of the Alpha-Centauri system.
Includes stars A, B and a hyopthetical planet around A.
Type AlphaCentauriSystem for a demo.
--------------------------------------------------------------------------
Form:
r = AlphaCentauriSystem( jD )
--------------------------------------------------------------------------
------
Inputs
------
jD (1,:) Julian date
-------
Outputs
-------
r (9,:) [rA;rB;rP]. rA: position vector of Alpha
Centauri A in km. rB: Position vector of Alpha
Centauri B in km. rP: Position vector of a
hypothetical planet orbiting at 1 AU around
Alpha Centauri A, in km.
--------------------------------------------------------------------------