Professional Documents
Culture Documents
Exercise#1
1. Generate a matrix of size 4x4 of normally distributed random numbers.
2. Change the value of the 3rd column to [6 9 2 5].
3. Delete the 2nd row.
Exercise#2
Signal Generation and Manipulation
1. Generate and plot a continuous time sinusoid signal of 64 samples ranging from
0 to 1, 1 kHz frequency, 2v amplitude and zero phase.
2. Sample the above signal with sampling frequency of 8 kHz and plot its discrete
version.
3. Calculate the sampling interval, total record time, period of one cycle and count
total number of cycles of the discrete signal.
Exercise#3
Let x(n) = [1 2 3 4 5 6 7 6 5 4 3 2 1]. Determine and plot the following sequences.
↑
(i) y(n) = 2x(n – 5) – 3x(n + 4)
(ii) y(n) = x(3 – n) + x(n)x(n – 2)
Exercise#4
Convolution
Given the following two sequences x(n) = [3, 11, 7, 0, −1, 4, 2]; −3 ≤ n ≤ 3 and
h(n) = [2, 3, 0, −5, 2, 1]; −1 ≤ n ≤ 4.
1. Determine convolution y(n).
2. Find the total number of elements, multiplications and additions required to
calculate y(n).
3. Use subplot to plot x(n), h(n) and y(n) on the same page.
Exercise# 5
Circular Convolution
Given the following a discrete sequence x(n) = [3, −1, 5, 0, 1, − 4].
1. Determine circularly folded sequence x(N − n).
2. Determine circularly shifted sequence x(N − 3)N.
3. Obtain 6×6 matrix by circular folding and then circular shifting the sequence.
Rustam ji Institute of Technology BSF Academy Tekanpur
Department of Electronics & Telecommunication
List of Experiments DSP (EC-605)
Exercise#6
Z-Transform
For the given rational form transfer function (=)ݖ2+16 ݖ−1+44 ݖ−2+56 ݖ−3+32
ݖ−4 / 3+3 ݖ−1−15 ݖ−2+18 ݖ−3−12 ݖ−4
1. Determine location of poles and zeroes and convert into factored form.
2. Plot pole-zero diagram.
3. Find the possible ROCs and discuss the stability of the system.
Exercise#7
Discrete Fourier Transform (DFT).
Consider a sequence x(n) = [2, −2,3, −4, 5, −1] (Use user function).
1. Plot x(n), magnitude and phase spectrums.
2. Find the DFT.
Exercise#9
Fast Fourier Transform (FFT).
Consider a sequence x(n) = [2, −2,3, −4, 5, −1] (Use user function).
1. Plot x(n), magnitude and phase spectrums.
2. Find the FFT.