Name
CL_op_rava2ae — Apoapsis radius and velocity to semi major axis and eccentricity (elliptic orbits)
Calling Sequence
[sma,ecc] = CL_op_rava2ae(ra,va[,mu])
Description
-
Computes keplerian parameters semi major axis and eccentricity from
apoapsis radius and velocity (only elliptic orbit).
- Last update : 20/2/2008
Parameters
- ra:
apoapsis radius [m] (1xN)
- va:
velocity at apoapsis [m/s] (1xN)
- mu :
(optionnal) geocentric gravitational constant [m^3/s^2] (default value is %CL_mu)
- sma:
semi major axis [m] (1xN)
- ecc:
eccentricity (1xN)
Examples
ra = 7078.e3;
va = 7.e3;
[sma,ecc] = CL_op_rava2ae(ra,va)