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
답변 (1개)
KSSV
2020년 11월 1일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!