File Exchange

image thumbnail

Maidenhead Locator Calculation

version (1.63 KB) by Yves OESCH
Lat/long to maidenhead conversion.

1 Download

Updated 03 Sep 2003

View License

This M-File convert the classical latitude/longitude coordinates to the maidenhead locator system, mostly used by the ham-radio operator to describe the transmitter location (QTH).

Cite As

Yves OESCH (2021). Maidenhead Locator Calculation (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Mike Bail

Very simple


Sorry, I haven't it in English, but the code is very simple.
The section between ======= and ====== at the beginning, is simply a few examples of known locations that i used to check the code, by activating on of them.
The rest of the code is only some simple mathematics and format conversion to get the result.

Bill Mahan

I have been looking for a simple program to convert LON/LAT to the 6-digit MH square.

Do you have this in English? Thanks!

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!