Path: Orbit/Optimization
% Propagate and plot a 3D trajectory using costate outputs from optimization. -------------------------------------------------------------------------- Form: b = Plot3DTrajectory( lambda, d, units, plotTitle ) -------------------------------------------------------------------------- ------ Inputs ------ lambda (6,1) Costates d (1,1) Structure to pass to fun .costFun .mu .rF .xF .el0 (1,6) Initial orbit orbital elements .elF (1,6) Final orbit orbital elements units (1,:) Units for position plotTitle (1,:) Title for plots ------- Outputs ------- b (1,1) Data structure .r (3,:) Position .v (3,:) Velocity .t (1,:) Times --------------------------------------------------------------------------
SC: BasicOrbit/RV2El SC: BasicOrbit/RVFromKepler Sail: Coordinates/MEQToECI Sail: Coordinates/MEqToEl Sail: Coordinates/MEqToRV Common: Database/Constant Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/TimeLabl Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit
Back to the Orbit Module page