Interpolation of complex input

I tried to use griddata for interpolation of complex data (The Y vector is complex). But it seems that griddata cannot work with complex input. Is there any alternative? Thank you in advance.

 采纳的回答

You cannot interpolate the real and imaginary parts separately?
help real
help imag
Then put the result back together.

2 个评论

You can use complex to join them back together.
Thank you John. Yes I will try to do it separately.

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by