MAPPING TOOLBOX LAT/LON vectors are not strictly monotonically increasing, hence zi = interp2(LO​N,LAT,GAIN​,loni,lati​) ; gives me errors

1 回表示 (過去 30 日間)
Lino
Lino 2019 年 3 月 30 日
編集済み: Lino 2019 年 4 月 3 日
I have a data file (.csv) that has satellite gain antenna vs. latitude (LAT), & longitude (LON) see plot of this data below.
I would like to find the gain vs. any arbitrary LAT/LON position. Because of the concentric circle nature of antenna patterns (for lack of a better term) the LAT/LON vectors are not strictly monotonically increasing, hence zi = interp2(LON,LAT,GAIN,loni,lati) ; gives me errors.
How can I use a MATLAB Mapping Toolbox functions such as geointerp on the imported data to fix this issue.

回答 (1 件)

Sean de Wolski
Sean de Wolski 2019 年 4 月 1 日
編集済み: Sean de Wolski 2019 年 4 月 1 日
Look at geointerp which properly projects lat/lon onto a plane so the interpolation values make sense.

カテゴリ

Help Center および File ExchangeReference Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by