Program 15
Program 15
Object : To design a FIR low-pass filter with given specifications and verify the magnitude, phase
and impulse responses using FDA Toolbox Order=100, rectangular window, cut-off frequency in
rad/s= 0.4
Tool used : MATLAB R2010b and FDA Toolbox
Theory :
Source Code :
clc;
clear all;
wc=input('enter the value of cut off frequency : ');
N=input('enter the order of filter : ');
b=fir1(N,wc,rectwin(N+1));
freqz(b,1);
impz(b,1,100);
Result :
enter the value of cut off frequency : .4
enter the order of filter : 100
FDA Tool :