This Xcos block computes the Moon position relative to ECI (Earth Centered Inertial) reference frame using Meeus algorithm.
This Xcos block computes the Moon position relative to ECI (Earth Centered Inertial) reference frame using Meeus algorithm. It is possible to use the block with event input or to configure it to herit events from previous block.
Input: Time in Modified Julian Day since 1950 format (1x1) real
Output: Moon position vector from Earth in ECI (Earth Centered Inertial) reference frame [m] (3x1) real
Accept herited events (0/1) - If 1 the block will accept herited events, if 0 it will have its own event input.
macros/MOON_MODEL.sci
macros/AB_mod_moonSun.sci