experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Computes sma and eccentricity given v and r.
   Will generate a plot when called with no outputs.
-------------------------------------------------------------------------------
   Form:
   [a, e] = VR2AE( v, r, mu )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   v           (1,n)    Velocity
   r           (1,m)    Radius
   mu                   Gravitational parameter (default = 3.98600436e5)

   -------
   Outputs
   -------
   a           (m,n)    Semi major axis
   e           (m,n)    Eccentricity

-------------------------------------------------------------------------------