How do I interpolate 3 variables to create a scatter plot?

Hello everyone! I have 3 variables: frequency, amplitude and reflection coefficient in form of 41x10 arrays.
Now I would need to interpolate those reflection coefficients in smaller gaps of frequencies and amplitudes (i.e. 10 Hz instead of 20 Hz) in order to increase the resolution of my scatter plot.
Can someone help me?
Many thanks. Carlo

 采纳的回答

doc interp2

1 个评论

it seems not so easy using that. I do not have monotonically increasing variables.

请先登录,再进行评论。

更多回答(1 个)

griddata and then sample at the appropriate grid locations

类别

帮助中心File Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by