Manual calculation of fourier and inverse fourier transform

You can use this code to manually find fourier transform and inverse fourier transform (without using fft and ifft by matlab) for both 1D/2D
228 Downloads
Aktualisiert 5. Nov 2021

Lizenz anzeigen

For the Fourier Transformation:
x is the arbitrary vector that you can set.
x_fourier is the fourier transform by matlab function fft.
A is the fourier transform by manual calculation/DFT algorithm. A will match with x_fourier.
Similarly, y is the arbitrary matrix that you can set.
y_fourier is the fourier transform by matlab function fft2.
B is the fourier transform by manual calculation/DFT algorithm. B will match with y_fourier.
For the Inverse Fourier Transformation:
Inverse_A and inverse_B are the inverse fourier transformation, calculated manually for 1D and 2D, respectively. They should match with x and y, respectively.

Zitieren als

Mustafa Rifat (2024). Manual calculation of fourier and inverse fourier transform (https://www.mathworks.com/matlabcentral/fileexchange/101574-manual-calculation-of-fourier-and-inverse-fourier-transform), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2021b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.1

Added an image and updated the description

1.0.0