Divide vector of coordinates into even intervals.
古いコメントを表示
Hi!
I have a long vector of longitude and latitude coordinates representing one bus route. Though the distance between each following pair of coordinates is different through the vector. I want to generate new longitude-latitude coordinates so that I have lots of intervals with same length.
採用された回答
その他の回答 (1 件)
KSSV
2018 年 2 月 22 日
1 投票
You need to have a look on interpolation......Read about interp1.
2 件のコメント
Hampus Alfredsson
2018 年 2 月 22 日
Stephen23
2018 年 2 月 22 日
@Hampus Alfredsson: interpolation works with negative values just as well as it does positive ones. Please make a new comment and upload your code by clicking the paperclip button.
カテゴリ
ヘルプ センター および File Exchange で Coordinate Reference Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!