Problem 1371. Altitude of locations on the earth

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)

Solution Stats

43.75% Correct | 56.25% Incorrect
Last solution submitted on Sep 23, 2015

Problem Comments

Solution Comments


Discover MakerZone

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

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!