<< CL_op_rarp2ae DEPRECATED CL_op_rava2ae >>

celestlab >> DEPRECATED > CL_op_rarp2vavp

CL_op_rarp2vavp

Apoapsis/periapsis radius to Apoapsis/periapsis velocity (elliptic orbits) - DEPRECATED

Calling Sequence

[v1, v2] = CL_op_rarp2vavp(r1, r2 [, mu])

Description

Parameters

r1:

Radius at position 1 (apoapsis or periapsis). [m] (1xN or 1x1)

r2:

Radius at position 2 (periapsis or apoapsis). [m] (1xN or 1x1)

mu:

(optional) Gravitational constant. Default: %CL_mu. [m^3/s^2] (1x1)

v1:

velocity at position 1. [m/s] (1xN)

v2:

velocity at position 2. [m/s] (1xN)

Authors

See also

Examples

ra = 7178.e3;
rp = 7078.e3;
[va, vp] = CL_op_rarp2vavp(ra, rp)
[vp, va] = CL_op_rarp2vavp(rp, ra)

Report an issue
<< CL_op_rarp2ae DEPRECATED CL_op_rava2ae >>