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.

 Respuesta aceptada

John D'Errico
John D'Errico el 18 de Feb. de 2016
You cannot interpolate the real and imaginary parts separately?
help real
help imag
Then put the result back together.

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Feb. de 2016

Comentada:

el 18 de Feb. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by