View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Earth-sized Sphere with Topography

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 8 ratings Rate this file 56 Downloads (last 30 days) File Size: 2.87 KB File ID: #27123 Version:
image thumbnail

Earth-sized Sphere with Topography



30 Mar 2010 (Updated )

variation on the SPHERE command to facilitate plotting of orbital trajectories

| Watch this File

File Information

Do you plot Earth-orbiting trajectories? Would you like to know how your orbit compares to the size of the Earth? If so, EARTH_SPHERE will help get you there.
This function is a modification of the built-in MATLAB command SPHERE. Rather than producing a sphere with a radius of 1, the radius of the sphere will equal that of the Earth. The user may specify the units they want to plot in: meters, kilometers, feet, miles, nautical miles, or astronomical units. EARTH_SPHERE will also display the Earth's topography in Earth-Centered-Earth-Fixed coordinates.

  produces an earth-sized sphere in nautical miles

  produces 10 point mesh of the Earth in astronomical units

h1 = gca;
hold on
  produces the Earth in miles on axis h1 and plots a trajectory from variables x, y, and z

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
05 Dec 2016 Rosa Marta García Fernández  
26 Apr 2016 Robert Hedman

Havent verified the accuracy of measurments, but the functionality is just splendid!

19 Mar 2016 Noel Puldon  
08 Jun 2015 Niccolò Rossi


21 Apr 2015 Divas

Divas (view profile)

14 Jun 2013 Todd Freestone  
13 Jun 2013 C Shen

C Shen (view profile)

11 Jun 2013 Alexandra Toftul  
01 Sep 2016

Updated license

Contact us