Convert Keplerian Orbital Elements to a State Vector

버전 1.2.0.0 (4.03 KB) 작성자: Darin Koblick
Convert orbital elements to a state vector, or a state vector back to orbital elements.
다운로드 수: 4.2K
업데이트 날짜: 2013/12/12

라이선스 보기

Most readily available Keplerian orbital element conversion utilities do not address circular or parabolic orbits. This set of routines will address the complete spectrum of orbits from a circular equatorial orbit to a retrograde hyperbolic orbit without error. All functionality is vectorized for computational efficiency.

Example Function Call One:
>> [r_ECI v_ECEF] = orb2rv(p,e,i,O,o,nu);

Where:
p = semilatus rectum (km) [1 x N]
e = Eccentricity [1 x N]
i = Inclination (rad) [1 x N]
O = Right Ascension of the Ascending Node (rad) [1 x N]
o = Argument of Perigee (rad) [1 x N]
nu = True Anomaly (rad) [1 x N]

Example Function Call Two:
>>[a,e,i,O,o,nu] = rv2orb(r_ECI,v_ECI)

Where
r = Position State Vector in km (ECI) [3 x N]
v = Velocity State Vector in km/s (ECI) [3 x N]

For those orbits which are equatorial or circular, the following full form function calls are necessary:

Convert state vector to full set of orbital elements:
>>[a,e,i,O,o,nu,truLon,argLat,lonPer,p] = rv2orb(r_ECI,v_ECI);

Convert full set of orbital elements back to a state vector:
>>[r_ECI,v_ECI] = orb2rv(p,e,i,O,o,nu,truLon,argLat,lonPer);

Where
truLon = True Longitude (rad) [1 x N]
argLat = Argument of Latitude (rad) [1 x N]

인용 양식

Darin Koblick (2024). Convert Keplerian Orbital Elements to a State Vector (https://www.mathworks.com/matlabcentral/fileexchange/35455-convert-keplerian-orbital-elements-to-a-state-vector), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Unit Conversions에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Updated outputs for orbital parameters when state vector is circular and equatorial.

1.0.0.0