Name

CL_mod_planetsG50ecl — Planets positions on Gamma50 (Veis) ecliptic

Calling Sequence

   [pars] = CL_mod_planetsG50ecl(cjd,planet_name)
   
   

Description

  • For given dates, this function calculates solar system planet's orbit keplerian parameters on the Gamma50 (Veis) frame
  • Last update : 17/10/2008

Parameters

cjd:

CNES julian date (number of fractionnal days since January 1st 1950) (1xN)

planet_name:

(string) name of the planet (Mercury,Venus,Earth,Mars,Jupiter,Saturn,Uranus,Neptune or Pluton)

pars:

planet's keplerian parameters at dates cjd [sma,ecc,inc,pom,gom,M] [6xN]

See also

CL_mod_moonSunG50

Authors

CNES - DCT/SB

Examples

cjd=CL_dat_cal2cjd(2016,1,1,0,0,0);
dates=cjd:1:cjd+365*5;
Terre_kep = CL_mod_planetsG50ecl(dates,'Earth');
Mars_kep = CL_mod_planetsG50ecl(dates,'Mars');
Mars_cart = CL_oe_kep2car(Mars_kep((2:7),:));
Terre_cart = CL_oe_kep2car(Terre_kep((2:7),:));
f2=scf(2);
f2.figure_size = [800,800];
plot(Terre_cart(1,:)/%CL_UA,Terre_cart(2,:)/%CL_UA,'g')
plot(Mars_cart(1,:)/%CL_UA,Mars_cart(2,:)/%CL_UA,'r')
xselect