Code covered by the BSD License  

Highlights from
Orbital Mechanics Library

2.85714

2.9 | 7 ratings Rate this file 73 Downloads (last 30 days) File Size: 559.28 KB File ID: #13439
image thumbnail

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

Written Poorly and slow to run. Many better programs out there.

29 Dec 2006 Chris Simpson

Code needs some improvements on speed. Many functions(zeroTo360 prime example) are way overwritten

31 Dec 2006 Brent Lewis

Useful program for aerospace

15 Jun 2007 heidi skhiri

the best...

19 Oct 2007 John Parsi

very useful !
the codes are clear and understandable

27 Oct 2007 Christopher Defoor

Better Comments of where things came from would be helpful

28 May 2008 Jo Man

I think KeplerCOE.m has a bug in it because when I run:

[ newPos, newVel ] = KeplerCOE( pos, vel, 0 );
norm( newPos - pos ) is a lot bigger than zero.

24 Jul 2008 sandip aghav

good help

31 Mar 2011 Gerhard Hejc

There is a bug in the function "eci2ecef". The transformation of the velocity vector from ECI to ECEF frame is not correct. The line V_ECEF(:,j) = R3(GST(j))*V_ECI(:,j) has to be replaced by something like

EARTH_RATE = 7.2921151467e-5;
V_R = cross([ 0 0 EARTH_RATE ], ECI(:,j));
V_ECEF(:,j) = R3(GST(j))*(V_ECI(:,j) - V_R');

Please login to add a comment or rating.
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.

Tag Activity for this File
Tag Applied By Date/Time
aerospace Richard Rieber 22 Oct 2008 08:53:13
aeronautics Richard Rieber 22 Oct 2008 08:53:13
aerodef Richard Rieber 22 Oct 2008 08:53:13
orbital mechanics Richard Rieber 22 Oct 2008 08:53:13
orbits cartesian Richard Rieber 22 Oct 2008 08:53:13
kepler Richard Rieber 22 Oct 2008 08:53:13
satellite Richard Rieber 22 Oct 2008 08:53:13
keplerian Richard Rieber 22 Oct 2008 08:53:13
mechanics Cristina McIntire 11 Nov 2008 12:24:07
very useful program and have good comments Hahnchl Jung 19 Nov 2008 09:45:49
orbital mechanics paul toto 11 Dec 2008 09:46:51
mechanics David 26 Dec 2010 14:33:33

Contact us at files@mathworks.com