Orbital Mechanics Library
Updated 1 Oct 2009
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.
Richard Rieber (2023). Orbital Mechanics Library (https://www.mathworks.com/matlabcentral/fileexchange/13439-orbital-mechanics-library), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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.
- Fixed a simple bug in KeplerCOE
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.