COMSATS University Islamabad, Lahore Campus: Lab Terminal Exam (Spring-2020)

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

COMSATS University Islamabad, Lahore Campus

Department of Electrical and Computer Engineering

Lab Terminal Exam (Spring-2020)


Course Title: Signals and Systems Course EEE-223 Credit Hours: 4 (3,1)
Lab Instructor/s: Iqra Jawaid Program
Code: BEE
th
Semester: 4 Batch: FA18-BEE Section: C
Name: Date: 11-08-2020
Time Allowed 120 Minutes Maximum Marks: /50
Student’s Name: Reg. No. CIIT/FA18/
Important Instructions / Guidelines:
 All questions are compulsory.
 This is an open manual open notes exam but students are not allowed to communicate with each other via any
means. Anyone who found guilty of it, his/her performance will be cancelled and will be awarded zero.
 It is mandatory to keep the cameras open for invigilation purposes and anyone who fails to follow, his/ her exam
will be cancelled.
 This is a practical MATLAB based Exam. Each student will implement his/her own assigned task.
 No marks will be awarded to those students who will not show the practical results of implementation.
 Make one .m file for each question and name it as FA18_BEEC_QX.m. Where, X is the question number.
Each .m file should contain your name and your roll number. Your Terminal Exam Answer paper should be
named as TA_F18_BEEC_YYY. Submit one zip file with name “TA_FA18_BEEC_YYY.zip” containing all your
question .m files and your Terminal Exam Paper
 Please note that all the outputs should be shown in proper graphical format with complete formatting.

Take the last two digits of your Student ID and make second last digit equal to “P” and last digit equal to
“Q”. For example, if your registration number is FA18-BEE-013 then P=1 and Q=3 (in case any digit P, Q
or the computed expression using P and Q becomes 0, replace it with 9 and mention it clearly in your .m
files and solutions). Solve the following questions by clearly mentioning and putting the value of ‘P’ and
‘Q’ in the appropriate places in your solutions.
Question No. 01 [Lab.CLO1-PLO5] [1+3+1+2+3= 10 Marks]

P
x[n]  
n  P
2 PQn
Given the signal

a.Construct the signal in MATLAB


b.Construct a MATLAB code to compute the z-transform of the signal
c. Plot the response of part-b using a pole-zero plot in MATLAB
d.Comment on the Stability of the system comprised of the above given signal x[n]

e. Apply the scaling property on the given signal with a scaling factor of   Q  2 and compute the error.
Question No. 02 [Lab.CLO1-PLO5] [2+3+1+2+1+2= 11 Marks]

a.Define the signals x[n] and h[n] in MATLAB as follows


P
x[n]  {2 P, P 2 ,
, P  Q,5 P,3Q}
3
Q PQ
h[n]  { , 4 P, , 2Q}
2 2
b.Construct a MATLAB code that computes the convolution of the given signals using user-defined function.
c. Plot the result of the convolution computed in part-b
d.Compute the convolution of the signals with the built-in command in MATLAB
e. Plot the two results using subplot.
f. Compute the error between the two convolutions and show your results in command window

Question No. 03 [Lab.CLO1-PLO5] [2+1+2+1+4+3= 13 Marks]

y (t ) is defined as
A signal 1

Q
y1 (t )  cos(2 Pt )
2
a.Construct a MATLAB code that computes the Fourier transform of the given signal.
b.Plot the result of part-a using ‘plot()’ command in MATLAB
c. Construct a MATLAB code that computes the Laplace transform of the given signal.
d.Plot the result of part-c using ‘plot()’ command in MATLAB

e. How can we construct the original signal 1


y (t )
back from the result we obtain in part-c? Show your working
through the MATLAB implementation.
(Hint: If required, show your working on paper that supports your MATLAB implementation and paste it in
the space provided below)

f. Suppose you are provided with another signal


y2 (t )  2 P *sin(2 Qt ) and the scalars 1  P  Q and
2  P  Q .
Construct a MATLAB code that checks if the Laplace transform satisfies the linearity property for the

signals
y1 (t ) and y2 (t ) with scalars 1 and  2 .
Question No. 04 [Lab.CLO1-PLO5] [1.5+1+0.5+1+2= 6 Marks]

Consider the following signal in MATLAB

x(t )  (1  Q)e  Pt

a. Using the complex Fourier series representation, construct a MATLAB code that computes the Fourier
series coefficients for the given signal.
b. Estimate the signal x(t) using ‘Q’ Number of Terms of the Fourier Series coefficients.
c. Plot the result of part-b using ‘plot()’ command
d. What will happen if you increase the number of Terms from Q to your complete Roll Number?

e. Compute the response of part-d in MATLAB and show your results using plot() command.

Question No. 05 [Lab.CLO2-PLO10] [10 Marks]

Viva voce.
Software Lab Evaluation Rubrics for Accessing Terminal Exam Performance

Name: _______________________________________________ Course Title: Signals and Systems___

Student Registration No. ________________________________ Instructor Signature: ____________

Criteria Exceeds Expectations Meets Expectation Developing Unsatisfactory Score


(10) (6-9) (2-5) (0-1) (10)

Student was familiar


Student demonstrated
with the software and
Student was familiar with the Student demonstrated an little or no ability to
was able to use
Ability to use software and required minimal ability to use the software perform experiment and
additional features of
software help from the instructor to but required assistance from required unreasonable
the software that were
perform the experiment the instructor amount of assistance
not available in
from instructor
instruction set.

Student followed the


instructions with no Student had difficulty
Student had difficulty with
assistance reading the procedure and
Student followed instructions some of the instructions in
following directions
Ability to in the procedure with little or the procedure and needed
student performed
follow no assistance clarification from the
additional experiments If procedure was not
procedure instructor
or tests beyond those provided, student was
and/or design If procedure was provided, the
required in instructions incapable of designing a
a procedure student was able to determine If procedure was not
set of experiments to
for an appropriate set of provided, the student needed
If procedure to satisfy given lab
implementati experiments to run to produce some direction in deciding
accomplish an objective objective
on usable data and satisfy the lab what set of experiments to
in not provided, the
objectives perform to satisfy the lab
student developed a The data taken was
objective
systematic set of tests to essentially useless
accomplish objective

Student developed a
good systematic
procedure for testing Student demonstrated the
Student was able to identify
software code that ability to test software code in Student demonstrated
Ability to the problems in software
allowed for quick order to identify technical little or no ability to
troubleshoot code but required some
identification of problems, and was able to troubleshoot software
software assistance in fixing some of
problems solve any problems with little code for the lab.
the problems
or no assistance
Student good at
analyzing the data

Student was unable to


Able to explain program Able to explain most of the Able to explain some
explain program design
Q&A design and fundamental program design and relevant program design and relevant
or answer relevant
concepts correctly fundamental concepts fundamental concepts
fundamental concepts

Total Score ( /40)

You might also like