How to interpolate scattered grid data

1 次查看(过去 30 天)
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.

采纳的回答

Kamran Mukhtar
Kamran Mukhtar 2019-8-8
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
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
Thanks for your answer, saving my time. btw,I also have explored 'scatteredInterpolant' which also does extrapolation.

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by