How to convert Northing & Eastings to Long Lat (in decimals)
Afficher commentaires plus anciens
Hi all,
I have a long list of coordinates (in Northing & Eastings) that I need to convert them into Long Lat (in decimals).
Is there a way to do it using MATLAB instead manually?
Need it URGENTLY!
Thanks heaps
Réponses (1)
Christiaan
le 10 Mar 2015
Modifié(e) : Christiaan
le 10 Mar 2015
Dear Eevee,
clc;clear all;close all;
% example (DMS=degrees, minutes, seconds)
dms = [40 42 46.021;
74 0 21.388;];
format long g
angleInDegrees = dms2degrees(dms);
Latitude_N = angleInDegrees(1);
Longitude_E = angleInDegrees(2);
Good luck! Christiaan
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!