How do you inverse fourier transform 2D data only in one direction?

8 ビュー (過去 30 日間)
parslee
parslee 2021 年 10 月 11 日
編集済み: David Goodmanson 2021 年 10 月 11 日
My data is in 2D (x and y direction) and I would like to inverse Fourier transform only in the x-direction. (Please see attached for the data).
I thought about using the commands: ifft(Y, n, dim) or ifftn(Y).
But it doesn't seem ideal as these take the IFT of the dimension of the array.
Is there any way about doing this instead of coming up with the equation for this data and taking the integral of it?

採用された回答

David Goodmanson
David Goodmanson 2021 年 10 月 11 日
編集済み: David Goodmanson 2021 年 10 月 11 日
Hi Gabrielle,
I'm not exactly sure what is meant by 'in the x direction' but it sounds like dimension 2. Anyway,
ifft(Y,[],2) or ifft(Y,[],1)
accomplish that. You will probably want to check and make sure which one is the dimension you intend.

その他の回答 (1 件)

Image Analyst
Image Analyst 2021 年 10 月 11 日
Not sure what that means. Do you just want to go down line by line taking 1-D fft's of each line of the image?
Why do you want to do this anyway? What's the use case (larger context)?

カテゴリ

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