Docsity

DTFT Computation, Exercises of Digital Signal Processing

Toggle sidebar
bg1
1
Name:
Laboratory Exercise 3
Project 3.1 DTFT Computation
A copy of Program P3_1: Evaluation of the Frequency response of the system:
num = [2 1]; den = [1 -0.6]; is given below:
< Insert program code here. Copy from m-file(s) and paste. >
Answers:
Q3.1 The expression of the DTFT being evaluated in Program P3_1 is -
Q3.2 The plots generated by running Program P3_1 are shown below:
< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >
The DTFT is a ___________ function of .
Its period is -
The types of symmetries exhibited by the four plots are as follows:
Q3.3 The required modifications to Program P3_1 to plot the phase in degrees are indicated below:
< Insert program code here. Copy from m-file(s) and paste. >
Project 3.2 DFT and IDFT Computations
Answers:
Q3.4 The MATLAB program to compute and plot the L-point DFT X[k] of a length-N sequence
x[n] with L
N and then to compute and plot the IDFT of X[k] is given below:
< Insert program code here. Copy from m-file(s) and paste. >
The DFT and the IDFT pairs generated by running the program for sequences of different
lengths N and for different values of the DFT length L are shown below:
< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >
docsity.com
pf2

Partial preview of the text

Download DTFT Computation and more Exercises Digital Signal Processing in PDF only on Docsity!

Name:

Laboratory Exercise 3

Project 3.1 DTFT Computation

A copy of Program P3_1: Evaluation of the Frequency response of the system:

num = [2 1]; den = [1 -0.6]; is given below:

< Insert program code here. Copy from m-file(s) and paste. >

Answers:

Q3.1 The expression of the DTFT being evaluated in Program P3_1 is -

Q3.2 The plots generated by running Program P3_1 are shown below:

< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >

The DTFT is a ___________ function of .

Its period is -

The types of symmetries exhibited by the four plots are as follows:

Q3.3 The required modifications to Program P3_1 to plot the phase in degrees are indicated below:

< Insert program code here. Copy from m-file(s) and paste. >

Project 3.2 DFT and IDFT Computations

Answers:

Q3.4 The MATLAB program to compute and plot the L-point DFT X[k] of a length-N sequence

x[n] with L  N and then to compute and plot the IDFT of X[k] is given below:

< Insert program code here. Copy from m-file(s) and paste. >

The DFT and the IDFT pairs generated by running the program for sequences of different

lengths N and for different values of the DFT length L are shown below:

< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >

docsity.com

From these plots we make the following observations:

Project 3.3 Filters

A copy of Program P3_2: Impulse Response of Truncated Ideal Lowpass

Filter (wc=0.25, Length=13) is given below:

< Insert program code here. Copy from m-file(s) and paste. >

Answers:

Q3.5 The plot of the impulse response of the approximation to the ideal lowpass filter obtained

using Program P3_2 is shown below:

< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >

The length of the FIR lowpass filter is -

The parameter controlling the cutoff frequency is -

Q3.6 The required modifications to Program P3_2 to compute and plot the impulse response of

the FIR lowpass filter of Project 3.3 with a length of 20 and a cutoff frequency of

c = 0.45 are as indicated below:

< Insert program code here. Copy from m-file(s) and paste. >

The plot generated by running the modified program is given below:

< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >

Q3.7 The required modifications to Program P3_2 to compute and plot the impulse response of

the FIR lowpass filter of Project 3.3 with a length of 15 and a cutoff frequency of c = 0.

are as indicated below:

< Insert program code here. Copy from m-file(s) and paste. >

The plot generated by running the modified program is given below:

< Insert MATLAB figure(s) here. Copy from figure window(s) and paste. >

docsity.com