Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1371. Altitude of locations on the earth

Created by Dan

Find the altitude of a location on the earth, given latitude and longitude coordinates, above mean sea level.

Input___________Latitude and Longitude in decimal degrees.

Output_________ Altitude in meters.


Everest (27.988056°N 86.925278°E) ----> Height: 8816.663 m (from Google Maps)


Problem Group

Solution Statistics

21 correct solutions 27 incorrect solutions
Last solution submitted on Sep 23, 2015

Problem Comments

Solution Comments