Code covered by the BSD License
-
CalcEA(M,ecc,tol)
Orbit eccentric anomaly, Kepler's equation keplers equation
-
Groundtrack(Kepler,GMSTo,Tf,f...
Orbit groundtrack plot Latitude longitude lat long
-
Hohmann(R_init,R_fin,U)
Orbit Hohmann transfer
-
JD(yr,day)
Julian Date
-
KeplerCOE(Ro,Vo,dT,U,tol)
Orbit Kepler position velocity
-
NodeChange(dO,inc,Vinit)
Node change right ascension of the ascending node RAAN raan orbit
-
R1(x)
Rotation matrix direction cosine matrix
-
R2(x)
Rotation matrix direction cosine matrix
-
R3(x)
Rotation matrix direction cosine matrix
-
RVtoLatLong(ECEF)
orbit radius velocity latitude longitude ECEF
-
TwoBody(t,X,U)
Two body Orbit gravity
-
dInc(V,dI,fpa)
Inclination change orbit gravity
-
dVdI(R_init,R_fin,Inc,U,Tol)
Inclination change velocity change orbit hohmann transfer
-
ecef2eci(ECEF, GST, V_ECEF)
Orbit ECEF ECI Coordinate conversion
-
eci2ecef(ECI, GST, V_ECI)
Orbit ECEF ECI Coordinate conversion
-
elorb(R,V,U,tol)
Kepler orbital elements ECI Position orbit conversion
-
nuFromM(M,ecc,tol)
Kepler Orbit Anomaly true mean
-
nuFromTp(Tp,ecc,n,tol)
Kepler Orbit Anomaly true time periapse perigee
-
plotorb(ECEF, V_ECEF, mu, Rbo...
Orbit gravity plot orbit spherical
-
randv(a,ecc,inc,Omega,w,nu,U)
Kepler orbital elements ECI Position orbit conversion
-
topo(ECEF, lat, long, h, Rp)
Orbit range elevation azimuth position ground station site latitude longitude
-
zeroTo360(x,unit)
Angle reduce reduction degrees radians
-
Constants.m
-
View all files
Orbital Mechanics Library
by Richard Rieber
18 Dec 2006
(Updated 01 Oct 2009)
A compilation of all of the functions I wrote for my orbital mechanics class
|
Watch this File
|
| File Information |
| Description |
There are 23 different functions performing basic orbital operations (Hohmann tx, inclination and node changes, orbital parameter conversions, ground tracks, orbit plotting, etc.). Some of these functions are still rough, so please provide feedback. These functions are basically how I did all of my homework. There are a few plotting functions that are "just for fun" i.e. I'm being a geek. Please e-mail me if you have problems, suggestions, comments, or snide remarks. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (9) |
| 21 Dec 2006 |
Jared Teneyck
|
|
|
| 29 Dec 2006 |
Chris Simpson
|
|
|
| 31 Dec 2006 |
Brent Lewis
|
|
|
| 15 Jun 2007 |
heidi skhiri
|
|
|
| 19 Oct 2007 |
John Parsi
|
|
|
| 27 Oct 2007 |
Christopher Defoor
|
|
|
| 28 May 2008 |
Jo Man
|
|
|
| 24 Jul 2008 |
sandip aghav
|
|
|
| 31 Mar 2011 |
Gerhard Hejc
|
|
|
| Updates |
| 19 Dec 2006 |
Fixed a bug in the function call for the plotorb.m function. (And fixed my typo in the title) |
| 22 Dec 2006 |
Fixed an error in the function call for nuFromM.m and forgot to include the function zeroTo360.m. |
| 26 Sep 2007 |
Updated plotorb. Added capability to orbit bodies other than Earth.
Updated nuFromTp and nuFromM to fix a gruesome error in the default tolerance from 10^8 rad to 10^-8 rad. |
| 11 Nov 2008 |
- Fixed a simple bug in KeplerCOE
- Changed input checking in elorb to accept 3x1 inputs.
- Re: Jo Man's comment. Yes, a dT of 0 yields a non-zero dR. This is due to error in Newton-Raphson iteration. |
| 01 Oct 2009 |
Added features to some plotting functions, improved comments, added H1 lines, added capabilities of some functions to work with perfectly equatorial and/or circular orbits. |
|
Contact us at files@mathworks.com