[go: up one dir, main page]

0% found this document useful (0 votes)
3 views4 pages

Oelllll

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

EE-3404: Digital Signal Processing Lab

Session: Spring-2023

EXPERIMENT NO 13:

Open Ended Lab-2

Student Name & Reg No: _____ABDUL HASEEB KHAN---------------------------------------------------------

F20603004___________________________________________

Date of Experiment: ________________________________________________________

Affective Domain Rubric Based Assessment

Levels of Achievement
Unacceptable Just acceptable Basic Good Excellent Marks
(1) (2) (3) (4) (5)
I. Engagement
II. Attitude and Goal Setting

Psychomotor Domain Rubric Based Assessment

Levels of Achievement
Unacceptable Just acceptable Basic Good Excellent Marks
(1) (2) (3) (4) (5)
1. Approach towards problem
II. Implementation and Results

Lab Report Rubric Based Assessment

Levels of Achievement
Unacceptable Just acceptable Basic Good Excellent Marks
(1) (2) (3) (4) (5)
I. Organization/Structure
II. Results and Conclusion

Submitted to: ________________________________________________________

Instructor’s Signature: ________________________________________________________


Open Ended Lab-II

Question No. 01: [CLO-1, PLO-3]


Consider the z-transform X(z) defined by the following expression:
Z
X(z)= 2
Z −4 Z +1

a. Evaluate the values of the vectors b and a.


b. Evaluate the partial fraction expansion by using residuez command for this purpose. c.
plot the zeros and poles of x(z).

CODE: (5)
num = [0 1 6];
den = [2 8 9];
[b, a] = residuez(num, den);
[r, p, k] = residuez(num, den);
figure;
zplane([], p);
title('Pole-Zero Plot');
xlabel('Re');
ylabel('Im');

FIGURE:

(2+3)
Experiment# 1.

Question No. 02:


Design a Chebyshev Type II filter with bandpass frequencies of 200-500Hz. The sampling rate for
the designed filter should be 1000Hz. [CLO-2, PLO-3]
a) Produce MATLAB code
b) Show the magnitude response
The filter should have to be computationally efficient.
CODE: (5)
order = 6;
ripple = 3;
fs = 2000;
f1 = 300;
f2 = 500;
Wp1 = f1 / (fs/2);
Wp2 = f2 / (fs/2);
[b, a] = cheby2(order, ripple, [Wp1, Wp2], 'bandpass');
freqz(b, a, 1010, fs);
title('Chebyshev Type II Bandpass Filter - Magnitude Response');
xlabel('Frequency (Hz)');
ylabel('Magnitude (dB)');

FIGURE:

Note:
Make proper lab report by stating the objective, procedure, and explanation of output results

with conclusion.

Comments:

in this open ended lab we made a band pass filter calculate its magnitude and also we saw the

graph using the codes of matlab.

You might also like