0% found this document useful (0 votes)
148 views2 pages

DSP Coursework Brief

This document contains instructions for an assignment in a fundamentals of digital signal processing course. It provides details on tasks to be completed in MATLAB involving generating sawtooth and square waves, sinusoidal sequences, determining discrete time Fourier transforms, computing circular convolutions using the DFT approach, and plotting the magnitude and phase responses of an IIR digital filter. The deadline for submission is December 14, 2017 and marked reports will be returned to students on January 8, 2018.

Uploaded by

Themba Kaonga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
148 views2 pages

DSP Coursework Brief

This document contains instructions for an assignment in a fundamentals of digital signal processing course. It provides details on tasks to be completed in MATLAB involving generating sawtooth and square waves, sinusoidal sequences, determining discrete time Fourier transforms, computing circular convolutions using the DFT approach, and plotting the magnitude and phase responses of an IIR digital filter. The deadline for submission is December 14, 2017 and marked reports will be returned to students on January 8, 2018.

Uploaded by

Themba Kaonga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment

Fundamentals of Digital Signal Processing ELC056

Professor Sangarapillai Lambotharan

Deadline for submission of report: Thursday, 14 December


2017, 3pm.

Marked assignment reports are expected to be returned to


the students on the 8th of January 2018.

Assignment

These tasks are to be recorded in a laboratory book which is to be handed in at the end
of the course. Access to a PC running MATLAB together with hardcopy facility is
required.

M2.2)

1 Sangarapillai Lambotharan
Fundamentals of Digital Signal Processing
Use the “sawtooth” and “square” functions from within MATLAB to generate the
above figures. The user should be prompted for the length of the sequence L, peak
value A and the period N. For the square wave the user should also specify the duty
cycle, namely the percentage the signal is positive.

Generate the first 100 samples of the above sequences when A = 7, N = 13 and the
duty cycle is 60%.

M2.4) a) Write a MATLAB program to generate a sinusoidal sequence


x[n] = Acos(ωon + φ) and plot the sequence with the “stem” function. The user
should specify the length L, amplitude A, angular frequency ωo, and the phase φ
where  o  (0,  ) and   [0,2 ] .

b) Use the program from a) to generate sinusoidal sequences with angular frequencies
i) 0.14π, ii) 0.24 π, iii) 0.34 π, iv) 0.68 π and v) 0.75 π. Determine the period of each
sequence from the plot and verify the results theoretically.

M3.1) Write a program to determine and plot the real and imaginary parts and the
magnitude and phase spectra of the following DTFT for r = 0.6, θ = 0; r = 0.9, θ = π;
and r = 0.99, θ = π/4

1
G(e j )  0  r 1
1 - 2r(cos )e - j  r 2 e - j2

M3.9) Write a program to compute the circular convolution of two length-N


sequences via the DFT-based approach. Use this program to determine the circular
convolution of the following pairs of sequences:

a) g[n] = { 3, 4, -2, 0, 1, -4) and h[n] = {1, -3, 0, 4, -2, 3}.

b) x[n] = {2+j3,3–j,-1+j2,j3,2+j4} and v[n] = {-3-j2,1+j4,1+j2,5+j3,1+j2}

Calculate the linear convolutions and compare the results.

M4.6) Plot the magnitude and phase responses of the causal IIR digital filter

0.0534(1  z -1 )(1  1.0166z -1  z -2 )


H(z) 
(1  0.683z -1 )(1  1.4461z -1  0.7957 z -2)

What type of filter does this transfer function represent? Determine the difference
equation representation of the transfer function and sketch a block diagram realization
for the filter.

2 Sangarapillai Lambotharan
Fundamentals of Digital Signal Processing

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy