MATLAB Answers

Convert a list x y coordinates to lat long

49 views (last 30 days)
I have a list of x y values
a = [3600,2900; 4000, 2100; 4200, 3200, 3600, 2800; 3600, 2900];
I know the lat lon value for a(2) = [72.1890,-32.7989]... i.e., the lat-lon value for [4000,2100]
Can I get the lat lon list of 'a' if I know just this?
result = [?,?; 72.1890,-32.7989; ?,?; ?,?; ?,?];
  1 Comment
John Chilleri
John Chilleri on 25 Apr 2017
Without making assumptions I don't think so. However, if you were to go ahead and make assumptions, such as:
x = 0 means lat = 0
y = 0 means lon = 0
And if you were to further assume a linear relation, you get:
lat = x/55.4101
lon = -y/64.0265
Maybe this will be helpful? Good luck!

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 25 Apr 2017
You might be able to use https://www.mathworks.com/help/map/ref/georefcells.html and related routines. (I am a bit hazy on where you would go from there.)

Community Treasure Hunt

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

Start Hunting!

Translated by