Convert UTM to lat lon

26 views (last 30 days)
Louise Wilson
Louise Wilson on 25 Nov 2021
Edited: Louise Wilson on 27 Nov 2021
I have a 290x480x90 array where the x and y are coordinates in UTM. I'd like to convert them to degrees minutes seconds and I'd normally use the function utm2deg from the file exchange, but this requires the lat and lon arrays to be of equal length. Is there another solution? Thanks

Answers (1)

Rafael Palacios
Rafael Palacios on 26 Nov 2021
I don't understand which column in your 3D array contains X coordinates and which one contains Y coordinates.
It sill be about saying something like:
for i=1:90
X=[X; data(:,7,i)]; %7th column are X coordinates
Louise Wilson
Louise Wilson on 27 Nov 2021
I tried to phrase the question more clearly here:

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!