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

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)

If you have the Mapping Toolbox, check out the Denver to Lisbon example in the interpm2 documentation.

This question is closed.

Products

Asked:

Sam
on 22 Jul 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!