필터 지우기
필터 지우기

How to convert Northing & Eastings to Long Lat (in decimals)

조회 수: 25 (최근 30일)
eevee
eevee 2015년 3월 9일
편집: Christiaan 2015년 3월 10일
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

답변 (1개)

Christiaan
Christiaan 2015년 3월 10일
편집: Christiaan 2015년 3월 10일
Dear Eevee,
This matlab example (with the function dms2degrees) could probably help you on your way:
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);
You can perform a quick result check i.e. here.
Good luck! Christiaan

Community Treasure Hunt

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

Start Hunting!

Translated by