0% found this document useful (0 votes)
28 views7 pages

Fourier Transform Properties in MATLAB

Uploaded by

rasha waleed
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)
28 views7 pages

Fourier Transform Properties in MATLAB

Uploaded by

rasha waleed
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

Exp. No.

3
Fourier Transform
Properties
By:
Dr. Ahmed Jameel Abdulqader
Second Stage / 2nd semester 2022-2023
The Systems and Control Dept.
Nineveh University
Objective:
This experiment aims to study the basic concept of the Fourier Transform and its
properties in Matlab.
Introduction
The Fourier Transform is the most widely used tool for transferring data sequences. It
is used for decomposing signals into their constituent frequencies and their oscillatory
functions. It represents a signal in the frequency domain and transforms one complex value
function of a real variable into another Fourier transform. The goal of the experiment is to
give basic information of Discrete Fourier Transform. We explain properties and examples
of DFT.
EXP1: Sketch x(t) and its spectrum, if x(t)= u(t+0.5) – u(t-0.5) with the frequency between
-4 to 4 with step 0.06 (Matlab code).
%% Time Domain
t=-4:0.06:4;
s=hardlim(t+0.5)-hardlim(t-0.5); subplot(211)
plot(t,s,'linewidth',2)
axis( [-4 4 0 2]);
grid on
%% Frequency Domain
f=-4:0.06:4;
syms t
F=int(1*exp(-j*2*pi*f*t),t,-0.5,0.5);
F1=double (F);
subplot(212)
plot(f,abs(F1),'linewidth',2)
grid on
1- Linearity property
EXP2: Proof the linearity of the two signals shown below x1 & x2?

FT [x1(t)+ x2(t)]= FT [x1(t)] + FT [x2(t)]

f=-4:0.09:4;
syms t
F=int(2*exp(-j*2*pi*f*t),t,-2e-3,2e-3)+int(2*exp(-
j*2*pi*f*t),t,-4e-3,4e-3);
F1=double (F);
subplot(211)
plot(f,abs(F1),'linewidth',2)
grid on
FF=int(2*exp(-j*2*pi*f*t),t,-4e-3,-2e-3)+int(4*exp(-
j*2*pi*f*t),t,-2e-3,2e-3)+int(2*exp(-j*2*pi*f*t),t,2e-3,4e-
3);
F2=double (FF); subplot(212)
plot(f,abs(F2),'linewidth',2)
grid on
2- Time Scaling property
EXP3: Sketch the spectrum of the signal x(t) , with the frequency between -4 to 4 with step
0.1(Matlab code).

%% for x1
f=-4:0.1:4;
syms t
F=int(1*exp(-1j*2*pi*f*t),t,-0.5,0.5);
F1=double (F);
subplot(311)
plot(f,abs(F1),'linewidth',2)
xlabel('theta')
ylabel('Amplitude')
grid on
%% for x2
f=-4:0.1:4;
syms t
F=int(1*exp(-1j*2*pi*f*t),t,-1,1);
F1=double (F);
subplot(312)
plot(f,abs(F1),'linewidth',2)
xlabel('theta')
ylabel('Amplitude')
grid on
%% for x3
f=-4:0.1:4;
syms t
F=int(1*exp(-1j*2*pi*f*t),t,-2,2);
F1=double (F);
subplot(313)
plot(f,abs(F1),'linewidth',2)
xlabel('theta')
ylabel('Amplitude')
grid on
3- Time Shift property

EXP4: Sketch the spectrum of the signal x(t), with the frequency between -4 to 4 with step
0.1 by using Matlab code.

f=-4:0.1:4;
syms t
F=int(1*exp(-1j*2*pi*f*t),t,-1,1);
F1=double (F);
subplot(221)
plot(f,abs(F1),'linewidth',2)
xlabel('theta')
ylabel('Amplitude')
grid on
subplot(222)
plot(f,angle(F1),'linewidth',2)
xlabel('theta')
ylabel('Phase')
%%
f=-4:0.1:4;
syms t
FF=int(1*exp(-1j*2*pi*f*t),t,0,2);
F2=double (FF);
subplot(223)
plot(f,abs(F2),'linewidth',2)
xlabel('theta')
ylabel('Amplitude')
grid on
subplot(224)
plot(f,angle(F2),'linewidth',2)
xlabel('theta')
ylabel('Phase')
Discussion
Write a MATLAB program to compute Fourier transform with achieving the time shift
property by shifting two units to right for the following signal:

You might also like