Info

This question is closed. Reopen it to edit or answer.

using lat and long of two data points to create a line

1 view (last 30 days)
Sam
Sam on 22 Jul 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
If I am given two data points both with long and lat what code would I write to plot the line that connects these two points on an axis?

Answers (1)

Chad Greene
Chad Greene on 23 Jul 2015
If you have the Mapping Toolbox, check out the Denver to Lisbon example in the interpm2 documentation.

Products

Community Treasure Hunt

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

Start Hunting!