Digital FIR Band-Pass Filter Design by Yankee Bush Software LLC - 2015
Digital FIR Band-Pass Filter Design by Yankee Bush Software LLC - 2015
Description
Matlab Source Code
References
Copyright © 2005-2015.
No part of this manual may be reproduced or transmitted in any form or by any means,
Every effort has been made to ensure that this manual contains accurate and current
information. However, Yankee Bush Software LLC and the author shall not be held liable
for any loss or damage suffered by readers as a result of any information contained herein.
This manual is for educational use only and not for commercial use.
Trademarks & Copyrights
All trademarks and copyrights are acknowledged as belonging to their respective owners.
Licensing Information
Source code and object code can be freely distributed to students by accredited colleges
only. You must obtain an Object Code Distribution license to embed code into a
commercial product. This is a license to put code into a product that is sold with the intent
to make a profit. There will be a license free for such situations. You must obtain a Source
Code Distribution License to distribute source code. Again there is a fee for such a license.
You can download shareware versions but you must obtain commercial licenses from the
clc;
clear all;
ws1=0.15;%normalized frequency
wp1=0.3;
wp2=0.6;
ws2=0.75;
As=60; % in db
Rp=1; % in db
tr_width = min((wp1-ws1),(ws2-wp2))
M = ceil(11*pi/tr_width) + 1
wc1 = (ws1+wp1)/2;
wc2 = (wp2+ws2)/2;
b = fir2(M,f,m);
figure(1)
freqz(b,1);
window');
figure(2)
impz(b,1);
window');
References
Second Ed., Prentice Hall Signal Processing Series, 1999. Pages 1-870
McGraw Hill 2001 (comes with Digital Signal Processing Using MatlabR, Prentice Hall,
Joyce Van de Vegte, “ Fundamentals of Digital Signal Processing,“ Prentice Hall 2002.
Pages 1-810
Hykin, “Adaptive Filter Theory”, Prentice Hall, Fourth Edition, 2001, Pages 1-936
http://www.mathworks.com/