whereami tries to locate where your computer is and produces a map of illuminated relief topography as new figure, centered on your position.
whereami(HOST) allows to specify any host name or IP address. Other options are available (see examples below).
- Download zip files from the two archives: whereami and readhgt (includes dem.m);
- unzip and copy/move the following files in your working directory:
- under Matlab or GNU Octave, go to your working directory and type following examples at the command prompt.
% makes a figure centered on your present position on Earth whereami
% makes a figure centered on the IPGP institute in Paris, France. whereami('www.ipgp.fr')
% makes a figure centered on latitude/longitude 53.38°N / 13.06°E, % which is the GFZ institute in Potsdam, Germany, with a 0.5° height. whereami([53.38 13.06],0.5)
François Beauducel (2022). whereami (https://github.com/beaudu/whereami/releases/tag/v1.0.1), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!