VOrbit:

Path: Orbit/OrbitMechanics

% Computes the orbital velocity from radius.

 If you don't enter a, you will get v for a circular orbit.

 Either a or r can be scalars. It will plot v against whichever is a 
 vector.

--------------------------------------------------------------------------
   Form:
   v = VOrbit( r, a, mu )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r           (1,:)   Radius
   a           (1,:)   Semi major axis (inf for parabola)
   mu          (1,1)   Gravitational parameter [default is Earth in km^3/sec^2]

   -------
   Outputs
   -------
   v           (1,:)   Velocity

--------------------------------------------------------------------------
   References:	Bates, R.B. Fundamentals of Astrodynamics, pp. 28,34.
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Orbit Module page