Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

AMERICAN INTERNATIONAL UNIVERSITY BANGLADESH

Faculty of Engineering

Laboratory Report Cover Sheet


Students must complete all details except the faculty use part.

Please submit all reports to your subject supervisor or the office of the concerned faculty.

Laboratory Title: Study of signal frequency, spectrum, bandwidth, bit rate, quantization
using MATLAB
Experiment Number : 02 Due Date: 19.07.2020 Semester: Summer 19-20
Subject Name: Principles of Communications Section: C

Course Instructor: FARHADUR ARIFIN Degree Program: EEE

Declaration and Statement of Authorship:


1. I/we hold a copy of this report, which can be produced if the original is lost/ damaged.
2. This report is my/our original work and no part of it has been copied from any other student’s work or from any other source except
where due acknowledgement is made.
3. No part of this report has been written for me/us by any other person except where such collaboration has been authorized by the
lecturer/teacher concerned and is clearly acknowledged in the report.
4. I/we have not previously submitted or currently submitting this work for any other course/unit.
5. This work may be reproduced, communicated, compared and archived for the purpose of detecting plagiarism.
6. I/we give permission for a copy of my/our marked work to be retained by the School for review and comparison, including review by
external examiners.
I/we understand that
7. Plagiarism is the presentation of the work, idea or creation of another person as though it is your own. It is a form of cheating and is
a very serious academic offence that may lead to expulsion from the University. Plagiarized material can be drawn from, and presented
in, written, graphic and visual form, including electronic data, and oral presentations. Plagiarism occurs when the origin of the material
used is not appropriately cited.
8. Enabling plagiarism is the act of assisting or allowing another person to plagiarize or to copy your work

No. Student Name Student Number Student Signature Date

Submitted by:

For faculty use only:


Total Marks: ____
Faculty comments_________________________ Marks Obtained: _______
_______________________________________________________________
Title: Study of signal frequency, spectrum, bandwidth, bit rate, quantization using MATLAB
Performance Task for Lab Report:
**Generate a composite signal using two simple signals as,
x1(t) = A1 cos(2π(C*100)t ) x2(t) = A2 cos(2π(F*100)t)
x3(t) = x1(t) + x2(t)
(a) Select the value of the amplitudes as follows: let A1 = GD and A2 = AF.
(b) Make a plot of x3 over a range of t that will exhibit approximately 2 cycles. Make sure the
plot starts at a negative time so that it will include t = 0, and make sure that you have at least 20
samples per period of the wave.
(c) Plot x3 in frequency domain and calculate its bandwidth.
(d) Quantize x3 in 6 equally distributed levels and provide image for one cycle of the original
signal and quantized signal.

Ans:
My ID: 18-37223-1
AB-CDEFG-H
So,
A=1
B=8
C=3
D=7
E=2
F=2
G=3
H=1

A) Here, A1= GD= 37


A2= AF= 12

B) Making a plot of x3:

Matlab codes:

fs=20000;
t = [-0.004:1/fs:0.004];
A1=37;
A2=12;
x1=A1*cos(2*pi*300*t);
x2=A2*cos(2*pi*200*t);
x3=x1+x2;
plot(t,x3);
hold on
grid on
Output:

Figure 1: Output(b)

C) Plotting of x3 in frequency domain and calculating bandwidth:

MATLAB commands:

fs=20000;
t = [-0.004:1/fs:0.004];
A1=37;
A2=12;
x1=A1*cos(2*pi*300*t);
x2=A2*cos(2*pi*200*t);
x3=x1+x2;
plot(t,x3);
hold on
grid on
fx3=fft(x3);
plot(t,abs(fx3),'r');
bandwidth=obw(fx3,fs)
Output:

Figure 2: x3 in frequency domain

Figure 3: Bandwidth calculation

You might also like