<< 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)
Got questions? Get instant answers now!

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])
Got questions? Get instant answers now!

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Intro to digital signal processing. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10203/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Intro to digital signal processing' conversation and receive update notifications?

Ask