This page is optimized for mobile devices, if you would prefer the desktop version just click here

3.12 Matlab fir filter design exercise

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!
<< Chapter < Page Page > Chapter >>

Read also:

OpenStax, Fundamentals of signal processing. OpenStax CNX. Nov 26, 2012 Download for free at http://cnx.org/content/col10360/1.4
Google Play and the Google Play logo are trademarks of Google Inc.
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use and Privacy Policy.