<< Chapter < Page
  Procedure   Page 1 / 1
Chapter >> Page >
ELEC 301 Project Procedure Part 5: FIR Filtering

5. fir filter on the ti chip.

To create a FIR filter which matches a desired inverse filter, use the built in MATLAB filter design program called fir2 [b = fir2(n,f,m)]. This designs an n order FIR filter which attempts to create an FIR filter whose spectrum matches a linear interpolation between input amplitudes m at frequencies f. The coefficients (b) are obtained by applying an inverse Fourier transform to m at frequencies f and multiplying by a window. In creating an inverse filter, the default Hamming window is acceptable because it provides a balance between the dynamic range and the resolution of the signal. The response of the inverse filter at different frequencies should not be so different that a huge dynamic range is required. Finally enter these coefficients into the TI chip and produce an FIR filter.

h=fir2(62, ((10.^(linspace(0,1,length(targetfft))'))-1)/9,targetfft);

The FIR2 command with 64 coefficients does an acceptable job of matching the shape of an ideal inverse filter. However, given more memory and more coefficients one could do any even better job of matching the ideal.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Procedure. OpenStax CNX. Dec 14, 2010 Download for free at http://cnx.org/content/col11255/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Procedure' conversation and receive update notifications?

Ask