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.

 Risposta accettata

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

2 Commenti

Stephen23
Stephen23 il 18 Feb 2016
You can use complex to join them back together.
bni007
bni007 il 18 Feb 2016
Thank you John. Yes I will try to do it separately.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interpolation in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by