PLOTTING CUMILATIVE DISTANCE VS TIME GRAPH

Hello, I wish to plot a cumulative distance vs time graph using multiple values of longitude, latitude and altitude from a data table and I'm not sure where to start. Any help is appreciated. cheers

Antworten (1)

KSSV
KSSV am 1 Nov. 2020

0 Stimmen

You can find the distance between two given points (x1,y1) and (x2,y2) using:
Also have a look on pdist, pdist2. Once you have an array of distances, you can use cumsum to get cumulative distances. To plot read about plot.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Nov. 2020

Beantwortet:

am 1 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by