[E, N] = LL2OS( LAT, LON ) returns OSGB UK National Grid coodinates E, N (easting and northing) for points given by latitude and longitude
Convert latitude/longitude => OS National Grid
(for inverse function see OS2LL)
Algorithm and constants from D00659 v2.1 Dec 2010 of
http://www.ordnancesurvey.co.uk/oswebsite/gps/docs/A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf
(c) Michael Fourman 2012
Cite As
Michael Fourman (2024). LL2OS (https://www.mathworks.com/matlabcentral/fileexchange/38817-ll2os), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Data Analysis > Raster Data >
- Radar > Mapping Toolbox > Data Analysis > Raster Data >
Tags
Acknowledgements
Inspired: osgb36wgs84(rlon,rlat,key), Animation of COVID-19 Weekly Cases in England
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.