MarsOptimalTrajectory:

Path: Interplanetary/InterplanetaryOrbit

% Mars 3D optimal trajectory with a linear regulator
 Starts with plotting the Earth and Mars orbits. It then uses an
 optimal regulator to do the transfer with a linearized orbit. This nulls
 the error but has no limits on acceleration so requires a high delta-V.

  ------------------------------------------------------------------------
  See also Constant, PlanetPosJPL, NewFig, JD2Date, ECI2Hills, 
  OrbRate, RHSLinOrb, QCR, RK4, TimeHistory
  ------------------------------------------------------------------------
% 
--------------------------------------------------------------------------
   Copyright (c) 2023.1 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------
   Since 2023.1 
--------------------------------------------------------------------------