0% found this document useful (0 votes)
20 views4 pages

Program 15

A 100th order low-pass FIR filter with a rectangular window and cutoff frequency of 0.4 rad/s is designed using MATLAB and the FDA Toolbox. The magnitude, phase, and impulse responses of the filter are verified using functions from the toolbox, including freqz() and impz(). Source code is provided to design the filter and plot its frequency and impulse responses based on user inputs for the cutoff frequency and order.

Uploaded by

Thomas James
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views4 pages

Program 15

A 100th order low-pass FIR filter with a rectangular window and cutoff frequency of 0.4 rad/s is designed using MATLAB and the FDA Toolbox. The magnitude, phase, and impulse responses of the filter are verified using functions from the toolbox, including freqz() and impz(). Source code is provided to design the filter and plot its frequency and impulse responses based on user inputs for the cutoff frequency and order.

Uploaded by

Thomas James
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

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 :

You might also like