0% found this document useful (0 votes)
11 views9 pages

Program 2

Program 2 ppt presentation of pcs 4th sem lab program 22 scheme

Uploaded by

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

Program 2

Program 2 ppt presentation of pcs 4th sem lab program 22 scheme

Uploaded by

readooapp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

BANGALORE INSTITUTE OF TECHNOLOGY

K. R. Road, V. V. Puram, Bangalore – 560004


DEPARTMENT OF ELECTRONICS & TELECOMMUNICATION ENGINEERING
April-July-2024

IV Semester
Principles of Communication System (BEC402)
TOPIC: Illustration of signal representation in time and frequency domains for
a rectangular pulse.(EXP 2)

PRESENTED BY: PRESENTED TO :


Name –ANNANYAA.N Dr. M Rajeshwari
USN – 1BI22ET008 Prof. Jamuna M
Vision of the Department
Empower every student to be creative and productive in the field of Telecommunication
Engineering, by imparting excellent Technical Education and
inculcating Human Values

Mission of the department


M1. To make our Students acquaint with the Global requirements such as Problem Solving Skills,
Cultural Sensitivity, Ethical behaviour and Social Responsibility.
M2. To motivate our Students to pursue Higher Education and engage in continuous upgradation of
their Professional Skills.
M3. To encourage students to develop Communication Skills, Professional Values and Positive
Attitude that in turn leads to fostering Leadership Qualities.
CONTENT
Time Domain
Frequency domain
Steps
 Time Domain

 Definition: In the time domain, a rectangular pulse is defined by its duration 𝑇 and
amplitude 𝐴
In the time domain, the rectangular pulse is a simple, flat shape.
A longer pulse in the time domain corresponds to a narrower sinc function in the
frequency domain (lower bandwidth).
 A shorter pulse in the time domain corresponds to a wider sinc function in the
frequency domain (higher bandwidth).
 The time domain representation is localized in time (from -T/2 to T/2).
Frequency domain

Definition: In the frequency domain, the rectangular pulse is represented by its


Fourier Transform.
*In the frequency domain, rectangular pulse is a sine function with oscillatory
behaviour and a central peak.
*A longer pulse in the time domain corresponds to a narrower sinc function in the
frequency domain (lower bandwidth).
*A shorter pulse in the time domain corresponds to a wider sinc function in the
frequency domain (higher bandwidth).
*The frequency domain representation is spread out and has infinite extent,
although it decays rapidly.
 Step 1 : defining parameters
 A is the amplitude of the rectangular pulse.
 Tau is the duration of the rectangular pulse.
 T_step is the time step used for sampling the signal.
 T_range defines the time range for the signal, from -10 to 10 seconds, with a step
size of 0.001 seconds.

 Step 2: Generate Rectangular Pulse in Time Domain


 The rect_pulse array is created by checking if the absolute value of t_range is less
than tau/2. If true, it assigns the value A (amplitude); otherwise, it assigns 0. This
creates a rectangular pulse centered at 𝑡=0 with a duration of tau.
 3. Transforming the Signal to the Frequency Domain
 N is the number of points in the t_range.
 fft(rect_pulse, N) computes the Fast Fourier Transform (FFT) of the rectangular
pulse, converting it from the time domain to the frequency domain.
 fftshift(f_signal) rearranges the FFT output so that the zero frequency component is
centered. This is done for better visualization.
 f_range defines the frequency range for plotting, calculated based on the time step
and the number of points.

 4.Plotting the Signal in the Time Domain.


 This part of the code creates a subplot for the time domain representation and plots
the rectangular pulse. The t_range is on the x-axis (time), and rect_pulse is on the y-
axis (amplitude).
 5.Plotting the Signal in the Frequency Domain
 This part of the code creates a subplot for the frequency domain representation
and plots the magnitude of the FFT of the rectangular pulse. The f_range is on
the x-axis (frequency), and the normalized magnitude ‘abs(f_signal)/N ‘is on the
y-axis.
THANK YOU!!

You might also like