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.

 Accepted Answer

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

2 Comments

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

Sign in to comment.

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 18 Feb 2016

Commented:

on 18 Feb 2016

Community Treasure Hunt

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

Start Hunting!