This page is optimized for mobile devices, if you would prefer the desktop version just
click here
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])
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.