File Exchange

image thumbnail

Maidenhead Locator Calculation

version (1.63 KB) by

Lat/long to maidenhead conversion.

1 Download


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).

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

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

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

» Watch video