Name
CL_gm_raan2beta — Right ascension of ascending node to beta angle
Calling Sequence
[betaa] = CL_gm_raan2beta(inc,raan,alpha_sun,delta_sun)
Parameters
- inc:
orbit's inclination [rad] (1xN)
- raan:
right ascension of the orbit's ascending node [rad] (1xN)
- alpha_sun:
right ascension of the sun [rad] (1xN)
- delta_sun:
sun declination [rad] (1xN)
- betaa:
beta angle [rad] (1xN)
Examples
// Get alpha_sun and delta_sun
cjd = 20050;
[r_sun,rs] = CL_mod_moonSunG50(cjd,'s');
r_sph = CL_co_car2sph(r_sun);
alpha_sun = r_sph(1);
delta_sun = r_sph(2);
raan = %pi/4;
inc = CL_deg2rad(98.7);
betaa = CL_gm_raan2beta(inc,raan,alpha_sun,delta_sun)