lOMoARcPSD|23773618
15EC751 Module-1 Notes
DSP algorithms and architecture (Visvesvaraya Technological University)
Studocu is not sponsored or endorsed by any college or university
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
DSP Algorithms and Architecture
(15EC751)
Module – 1 Notes
Introduction to Digital Signal Processing: Introduction, A Digital Signal-Processing
System, The Sampling Process, Discrete Time Sequences, Discrete Fourier Transform (DFT)
and Fast Fourier Transform (FFT), Linear Time-Invariant Systems, Digital Filters,
Decimation and Interpolation.
Computational Accuracy in DSP Implementations: Number Formats for Signals and
Coefficients in DSP Systems, Dynamic Range and Precision, Sources of Error in DSP
Implementation.
Dept. of ECE, GAT Page 1
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 2
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 3
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 4
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 5
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 6
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 7
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 8
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 9
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 10
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 11
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 12
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 13
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 14
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 15
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 16
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 17
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 18
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 19
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Dept. of ECE, GAT Page 20
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Write a MATLAB code for designing an FIR filter using Parks-McClellen method.
Solution:
% Filter specification
f= [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7,0.8, 0.9, 1]; % frequency coefficients
m = [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0] ; % magnitude coefficients
% filter design
N= 20; % filter order
b = remez (N, f, m);
% Frequency response
[h, th] = freqz (b, 1, 128);
% Specified vs designed frequency response
figure;
plot (f, m, th/pi, abs(h), ‘x’);
title (‘specified(solid curve) vs designed ( x curve) filter frequency response’);
xlabel (‘Normalized requency, fs/2=1’);
Fig: Filter design using Parks-McCellen technique
Dept. of ECE, GAT Page 21
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
DSP A & A 15EC751 Module-1 Notes
Write a MATLAB code for designing an IIR filter using Yulewalk method.
Solution:
% Filter specification (Bandpass filter)
f= [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7,0.8, 0.9, 1]; % frequency coefficients
m = [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0] ; % magnitude coefficients
% filter design
N= 10; % filter order
[b,a] = yulewalk (N, f, m);
% Frequency response
[h, th] = freqz (b, a, 128);
% Specified vs designed frequency response
figure;
plot (f, m, th/pi, abs(h), ‘x’);
title (‘specified (solid curve) vs designed(x curve) filter frequency response’);
xlabel (‘Normalized requency, fs/2=1’);
Fig: Bandpass IIR filter design using the Yulewalk technique
Dept. of ECE, GAT Page 22
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])
lOMoARcPSD|23773618
Downloaded by Bhumika (govindmr008@[Link])