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

LAB SESSION # 15

Assessment Rubrics for TCE 404 – Digital Signal Processing


Method: Lab reports and instructor observation during Lab sessions
Outcome Assessed:
a. Ability to conduct experiments, as well as to analyze and interpret data (P).
b. Ability to function in teams (A).
c. Ability to use the techniques, skills and modern engineering tools necessary for engineering
practice (P).
Performance Exceeds expectation Meets expectation Does not meet expectation Mark
(5-4) (3-2) (1-0)
1. Realization of Able to fully or moderately Able to somewhat understand Able to slightly or unable to
Experiment [a, c] understand the concepts related to the concepts related to the understand the concepts related to
the experiment and provide experiment and provide results the experiment and does not
excellent results. with minor errors. provide excellent results.
2. Procedural Able to fully or moderately Able to somewhat understands Able to slightly or unable to
Skills and understands lab work procedure lab work procedure and perform understands lab work procedure
Laboratory Safety and perform lab work. Displays lab work. Somewhat displays and perform lab work. Slightly
Rules [a, c] skills to act upon sequence of skills to act upon sequence of displays or does not displays
steps in lab work. Always or often steps in lab work. Occasionally skills to act upon sequence of
take precautions or use equipment take precautions or use steps in lab work. Rarely or does
with care. equipment with care. not take precautions or use
equipment with care.
3. Conducting Able to fully or moderately Able to somewhat initiate lab Able to slightly or unable to
Experiment with initiate lab work. Capable to work. Somewhat capable to initiate lab work. Slightly capable
own initiative [a, perform experiment using perform experiment using or incapable to perform
c] procedural skills on his own. procedural skills on his own. experiment using procedural skills
on his own.
4. Use of Able to fully or moderately use Able to somewhat use lab work Able to slightly or unable to use
Observation [a] lab work observation for analysis observation for analysis and lab work observation for analysis
and calculations. Displays skills to calculations. Somewhat displays and calculations. Slightly displays
perform related analysis and skills to perform related analysis or does not displays skills to
calculations using the observation and calculations using the perform related analysis and
from lab work. observation from lab work. calculations using the observation
from lab work.
5. Modern Tool Able to fully or moderately Able to somewhat demonstrate Able to slightly or unable to
Use [a, c] demonstrate the use of relevant the use of relevant tool. demonstrate the use of relevant
tool. Displays skills to Somewhat displays skills to tool. Slightly displays or does not
demonstrate the use of relevant demonstrate the use of relevant displays skills to demonstrate the
tool for the lab work. tool for the lab work. use of relevant tool for the lab
work.
6. Ability to Able to fully or moderately Able to somewhat troubleshoot Able to slightly or unable to
troubleshoot troubleshoot experimental errors experimental errors and troubleshoot experimental errors
errors and Resolve and resolve them without somewhat resolve them without and slightly or unable to resolve
without guidance or supervision. guidance or supervision. them without guidance or
supervision [a] supervision.
Total

31
INSTITUTE OF BUSINESS MANAGEMENT
COLLEGE OF ENGINEERING & SCIENCES

Digital signal Processing (TCE-404A)

Semester _____________

LAB SESSION # 15
LAB OBJECTIVE: Write MATLAB program to find the Impulse response of a
system defined by Difference Equation.

Name of Student :
Student ID :

Date :

L ab Assessment
Total Marks

Marks Obtained

Lab Engineer:
Name:
__________________
Signature:
__________________
Date:
__________________

Faculty:
Name:
__________________
Signature:
__________________
Date:

OPEN ENDED LAB

TO FIND FREQUENCY RESPONSE OF A GIVEN SYSTEM GIVEN IN (TRANSFER

FUNCTION/ DIFFERENTIAL EQUATION FORM)

32
AIM:- To find frequency response of a given system in differential equation form.

THEORY:
Systems respond differently to inputs of different frequencies. Some systems may amplify components
of certain frequencies, and attenuate components of other frequencies. The way that the system output
is related to the system input for different frequencies is called the frequency response of the system.
Since the frequency response is a complex function, we can convert it to polar notation in the complex
plane. This will give us a magnitude and an angle. We call the angle the phase.

Amplitude Response:
For each frequency, the magnitude represents the system's tendency to amplify or attenuate the input
signal.

Phase Response:
The phase represents the system's tendency to modify the phase of the input sinusoids. The phase
response, or its derivative the group delay, tells us how the system delays the input signal as a function
of frequency.

PROCEDURE:
• Open MATLAB
• Open new M-file
• Type the program
• Save in current directory
• Compile and Run the program
• For the output see command window\ Figure window

MATLAB CODE:-
clc;
clearall;
b=input('Enter the numerator coefficients:');
a=input('Enterthedenominatorcoefficients:');
[h,w]=freqz(b,a);
subplot(2,1,1);
plot(w/pi,abs(h));
grid;
xlabel('Normalised Frequency');
ylabel('Magnitude in dB');
title('Magnitude Response');
subplot(2,1,2);
plot(w/pi,angle(h));
grid;
xlabel('Normalised Frequency');
ylabel('phase in radians');
title('Phase Response');

SAMPLE INPUT:-

33
Enter the numerator coefficients: [1 2 3 4]
Enter the denominator coefficients: [3 4 -5 6]

Conclusion
In this open ended lab, I have performed my lab on Software Mat Lab to obtain Frequency response
from transfer or difference Equations. to find frequency response I have given different value of co-
efficient of numerator and denominator, actually transfer function is a ration of output and Input, here
input act as denominator and output as a numerator.

34

You might also like