how use fftn and ifftn fourier transform

1 view (last 30 days)
xuan hau nguyen
xuan hau nguyen on 8 Jun 2017
Commented: Adam on 8 Jun 2017
r=(fftn(matrix1) .* ifftn(matrix2)) ./ abs((fftn(matrix1) .* ifftn(matrix2))
r=ifftn(r)
then output is all of NaN in r matrix result, why happen this situation, how overcome this situation
thanks alot
  1 Comment
Adam
Adam on 8 Jun 2017
I have no idea what you are trying to do in that expression, but just break it down into the 4 components and then the expressions combining each and look at them in the debugger. You will soon find where your NaNs are.

Sign in to comment.

Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!