Code covered by the BSD License  

Highlights from
The Gravity Perturbed Hohmann Transfer

The Gravity Perturbed Hohmann Transfer

by

 

28 Feb 2013 (Updated )

MATLAB script for solving the Hohmann transfer problem perturbed by non-spherical Earth gravity.

nc_event(t, y)
function [value, isterminal, direction] = nc_event(t, y)

% nodal crossing event function

% required by phohmann.m

% Orbital Mechanics with MATLAB

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% z-component of the unit position vector

value = y(3) / norm(y(1:3));

isterminal = 1;

direction =  -1;

Contact us