0% found this document useful (0 votes)
8 views31 pages

15ec751-module-1-notes

The document contains notes on Digital Signal Processing (DSP) algorithms and architecture, specifically focusing on the introduction to DSP, computational accuracy, and filter design methods such as FIR and IIR using MATLAB. It outlines key concepts like the sampling process, discrete Fourier transform, and sources of error in DSP implementations. Additionally, it provides MATLAB code examples for designing FIR and IIR filters using the Parks-McClellen and Yulewalk methods, respectively.

Uploaded by

dishapatil4444
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)
8 views31 pages

15ec751-module-1-notes

The document contains notes on Digital Signal Processing (DSP) algorithms and architecture, specifically focusing on the introduction to DSP, computational accuracy, and filter design methods such as FIR and IIR using MATLAB. It outlines key concepts like the sampling process, discrete Fourier transform, and sources of error in DSP implementations. Additionally, it provides MATLAB code examples for designing FIR and IIR filters using the Parks-McClellen and Yulewalk methods, respectively.

Uploaded by

dishapatil4444
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/ 31

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 ([email protected])
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 ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 2

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 3

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 4

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 5

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 6

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 7

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 8

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 9

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 10

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 11

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 12

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 13

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 14

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 15

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 16

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 17

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 18

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 19

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

DSP A & A 15EC751 Module-1 Notes

Dept. of ECE, GAT Page 20

Downloaded by Bhumika ([email protected])


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 ([email protected])


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 ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])


lOMoARcPSD|23773618

Downloaded by Bhumika ([email protected])

You might also like