MAPPING TOOLBOX LAT/LON vectors are not strictly monotonically increasing, hence zi = interp2(LON,LAT,GAIN,loni,lati) ; gives me errors
조회 수: 1 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211181/image.jpeg)
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Reference Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!