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.

 採用された回答

John D'Errico
John D'Errico 2016 年 2 月 18 日

0 投票

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

2 件のコメント

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

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

質問済み:

2016 年 2 月 18 日

コメント済み:

2016 年 2 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by