Professional Documents
Culture Documents
Bahria University Karachi Campus: Properties of Fourier Transform
Bahria University Karachi Campus: Properties of Fourier Transform
LAB EXPERIMENT # 7
TOOLS:
THEORY:
The Fourier Transform is a tool that breaks a waveform (a function or signal) into an alternate
representation, characterized by the sine and cosine functions of varying frequencies. The Fourier
Transform shows that any waveform can be re-written as the sum of sinusoidal.
Linearity property
Addition of two functions corresponding to the addition of the two frequency spectrum is called
linearity. If we multiply a function by a constant, the Fourier transform of the resultant function is
multiplied by the same constant. The Fourier transform of sum of two or more functions is the sum of
the Fourier transforms of the functions.
𝐹.𝑇
𝑎𝑥(𝑡) + 𝑏𝑦(𝑡) ↔ 𝑎𝑋(𝑤) + 𝑏𝑌(𝑤) Eq 7.1
29
LAB-7
𝐹.𝑇
𝑥(𝑡 − 𝑡0 ) ↔ 𝑒 −𝑗𝑤𝑡𝑜 𝑋(𝑤) Eq 7.2
Scaling Property
Scaling is the method that is used to change the range of the independent variables or features of data.
If we stretch a function by a factor in time domain, then it means that we compress the Fourier
Transform by the same factor in the frequency domain.
𝐹.𝑇 1 𝑤
𝑥(𝑎𝑡) ↔ |𝑎|
𝑋( ) Eq 7.3
𝑎
Differentiation property
Differentiation function with respect to time yields to the constant multiple of the original function.
𝑑𝑥(𝑡) 𝐹.𝑇
↔ 𝑗𝑤. 𝑋(𝑤) Eq 7.4
𝑑𝑡
Convolution property
The Fourier Transform of a convolution of two functions is the point-wise product of their respective
Fourier transforms.
𝐹.𝑇
ℎ(𝑡) ∗ 𝑥(𝑡) ↔ 𝐻(𝑤). 𝑋(𝑤) Eq 7.5
Duality Property
The Duality Property tells us that if x(t) has a Fourier Transform X(ω), then if we form a new function
of time that has the functional form of the transform, X(t), it will have a Fourier Transform x(ω) that
has the functional form of the original time function (but is a function of frequency).
PROCEDURE:-
Program-1
Linearity Property
%Plot first Sin signal
fs=100;
t=0:1/fs:5;
y=sin(2*pi*3*t);
plot(t,y)
30
LAB-7
s3=fft(y);
n2 = length(s3);
f2 = (0:(n2-1))*100/n2;
plot(f2,abs(s3))
fshift2 = (-n2/2:n2/2-1)*(100/n2);
yshift2 = fftshift(s3);
figure
plot(fshift2,abs(yshift2))
right=(a.*abs(yshift2))+(b.*abs(yshift3));
figure
plot(fshift2, right)
31
LAB-7
Program-2
Convolution Property
32
LAB-7
Program-3
Duality Property
xlabel('Time (sec)');
ylabel('Amplitude');
33
LAB-7
fshift=(-n/2:n/2-1)*(fs/n);
yshift=fftshift(y);
figure;
plot(fshift,abs(yshift));
xlabel('Frequency');
ylabel('Amplitude');
QUESTIONS:
1. Verify the following properties of Fourier Transform by writing code in MATLAB:
Time Shifting
Time Scaling
Differentiation
34
LAB-7
𝐹.𝑇 1
𝑥(𝑡) 𝑐𝑜𝑠𝑤𝑜 𝑡 ↔ [𝑋(𝑤 − 𝑤0 ) + 𝑋(𝑤 + 𝑤0 )]
2
35