Generate new coordinates from two sets.

Hi!
I have two sets of latitude-longitude coordinates according to below:
[53.040259 9.858967];
[53.040618 9.861558];
I want to generate more coordinates between those two with a given interval of 1 meter. How can I do this?

4 件のコメント

jonas
jonas 2018 年 3 月 1 日
編集済み: jonas 2018 年 3 月 1 日
Do you have the mapping toolbox?
EDIT: Actually, it seems quite easy to solve without the mapping toolbox. See this previous thread on a similar topic.
Hampus Alfredsson
Hampus Alfredsson 2018 年 3 月 2 日
How could it be done with mapping toolbox? Is there a certain function you're thinking of?
Image Analyst
Image Analyst 2018 年 3 月 2 日
What was wrong with interp1() like I answered below?
Hampus Alfredsson
Hampus Alfredsson 2018 年 3 月 2 日
I found out how to do it with the mapping toolbox. It was much easier than with interp1. Thank you!

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2018 年 3 月 1 日
編集済み: Image Analyst 2018 年 3 月 1 日

0 投票

How about interp1()? Do it on both lat and lon separately to generate vectors for each. Or you could use linspace().

カテゴリ

ヘルプ センター および File ExchangeGeographic Plots についてさらに検索

質問済み:

2018 年 3 月 1 日

コメント済み:

2018 年 3 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by