Skip to content

Instantly share code, notes, and snippets.

@skulumani
Created September 25, 2018 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skulumani/32cd88e28a408f32d53e520f12862dbe to your computer and use it in GitHub Desktop.
Save skulumani/32cd88e28a408f32d53e520f12862dbe to your computer and use it in GitHub Desktop.
matlab documentation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Purpose:
% - Function that loads planetary constant values for AAE532 class
%
% Inputs:
% - none
%
% Outpus:
% - constants - structure that holds constants for sol system divided
% by body
% - rot_per - axial rotational period in rev/day
% - radius - mean equatorial radius in km
% - mu - graviational parameter in km^3/sec^2
% - orbit_sma - semi-major axis of orbit in km
% - orbit_per - period of orbit in sec
% - orbit_ecc - eccentricity of orbit
% - orbit_inc - inclination of orbit in deg
% - mass - body mass (derived from mu and G) in kg
% - G - universal graviational constant in km^3/kg*sec^2
%
% Dependencies:
% - none
%
% Author:
% - Shankar Kulumani 1 Sept 2012
% - list revisions
% - Shankar Kulumani 19 Sept 2012
% - added distance conversions
% - added time conversions
% - Shankar Kulumani 30 Oct 2012
% - added semiparamter to constants
%
% References
% - planetary_constants.pdf (from AAE532 supplements)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment