0% found this document useful (0 votes)
34 views3 pages

MATLAB Fourier Transform Tutorial

The document outlines an experiment to generate the Fourier Transform of a signal using MATLAB. It explains the theory behind the Fourier transform, specifically how it identifies the frequencies in a signal, and provides MATLAB commands for computing the discrete Fourier transform and obtaining the absolute values and phase angles. The document includes sections for code and output, although these sections are not filled in.

Uploaded by

repaer072
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views3 pages

MATLAB Fourier Transform Tutorial

The document outlines an experiment to generate the Fourier Transform of a signal using MATLAB. It explains the theory behind the Fourier transform, specifically how it identifies the frequencies in a signal, and provides MATLAB commands for computing the discrete Fourier transform and obtaining the absolute values and phase angles. The document includes sections for code and output, although these sections are not filled in.

Uploaded by

repaer072
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

EXPERIMENT - 05

AIM: WAP in MATLAB to generate the Fourier Transform of a signal.


SOFTWARE USED: MATLAB
THEORY:
The Fourier transform is an integral transform that converts a
function into a form that describes the frequencies present in the
original function. In layman’s terms, a Fourier transform of a signal
tells you what frequencies are present in your signal and in what
proportions.
In MATLAB, y=fft(x) computes the discrete Fourier transform (DFT) of
x using a Fast Fourier Transform(FFT) algorithm.
While computing the Fourier transform of a function in MATLAB, the
absolute value of each element is required to compute the graph of
the transform. This can be done using the mg=abs(y) function.
To find the desired phase angle of the Fourier transform, ph=angle(y)
returns the phase angle in the interval[-π,π] for each element of a
complex array y. The angles in theta are such that
y=abs(y).*exp(i*ph).
CODE:
OUTPUT:

You might also like