Generate new coordinates from two sets.
Show older comments
Hi!
I have two sets of latitude-longitude coordinates according to below:
[53.040259 9.858967];
[53.040618 9.861558];
I want to generate more coordinates between those two with a given interval of 1 meter. How can I do this?
4 Comments
Hampus Alfredsson
on 2 Mar 2018
Image Analyst
on 2 Mar 2018
What was wrong with interp1() like I answered below?
Hampus Alfredsson
on 2 Mar 2018
Answers (1)
Image Analyst
on 1 Mar 2018
Edited: Image Analyst
on 1 Mar 2018
0 votes
How about interp1()? Do it on both lat and lon separately to generate vectors for each. Or you could use linspace().
Categories
Find more on Geographic Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!