<< Chapter < Page Chapter >> Page >
This is FIR filter design exercise in MATLAB.

Fir filter design matlab exercise

Design by windowing

Assuming sampling rate at 48kHz, design an order-40 low-pass filter having cut-off frequency 10kHz bywindowing method. In your design, use Hamming window as the windowing function.

b = fir1(40,10.0/48.0)

Parks-mcclellan optimal design

Assuming sampling rate at 48kHz, design an order-40 lowpass filter having transition band 10kHz-11kHzusing the Parks-McClellan optimal FIR filter design algorithm.

b = remez(40,[1 1 0 0],[0 10/48 11/48 1])

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Finite impulse response. OpenStax CNX. Feb 16, 2004 Download for free at http://cnx.org/content/col10226/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Finite impulse response' conversation and receive update notifications?

Ask