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 CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by