ifftn yields complex numbers

1 回表示 (過去 30 日間)
Kilian
Kilian 2013 年 8 月 11 日
I have a 3D array, called WT, with data of a traveling wave. The dimensions are y, x and time. My goal is to extract the forward and the backward traveling wave. Anybody have any ideas on how to do that?
What I have done so far is wt = fftn(WT) to convert the data into the f-k domain. I have ky, kx and frequency. Then I set all the values for kx<=0 to zero. Let's call this wF (forward traveling wave). I was hoping to simply do WF = ifftn(wF) to obtain the forward traveling wave in the time domain, however, the ifftn is giving me complex number. Any thoughts?

回答 (0 件)

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by