Hi
I have some scattered data (z-values which are complex) on different latitude and longitude. I want to interpolate it uniformly so that I can fil the missing values of latitude and longitude.

댓글 수: 1

Walter Roberson
Walter Roberson 2019년 8월 8일
griddata() can be used with complex values -- I just tried it.

댓글을 달려면 로그인하십시오.

 채택된 답변

Kamran Mukhtar
Kamran Mukhtar 2019년 8월 8일

0 개 추천

Thanks for your answer. Do you also know if we can also do extrapolation not necessarily too far but nearby cells ?

추가 답변 (2개)

Kamran Mukhtar
Kamran Mukhtar 2019년 8월 8일

0 개 추천

Would you be sharing it as well?

댓글 수: 1

Walter Roberson
Walter Roberson 2019년 8월 8일
Use the 'v4' option of griddata.
"For all interpolation methods other than 'v4', the output vq contains NaN values for query points outside the convex hull of the sample data. The 'v4' method performs the same calculation for all points regardless of location."

댓글을 달려면 로그인하십시오.

Kamran Mukhtar
Kamran Mukhtar 2019년 8월 9일

0 개 추천

Thanks for your answer, saving my time. btw,I also have explored 'scatteredInterpolant' which also does extrapolation.

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by