ADDENDUM2-LAB4_02_16_2007

ADDENDUM2-LAB4_02_16_2007 - : Direct-Form II, Second-Order...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 3551 MICROCOMPUTER SYSTEMS 1 Addendum 2 to Lab 4—Learn to process audio data This second addendum is to clarify the requirements for Lab4 and also to bring to your attention to update the original Lab4 instructions that have correct filter coefficient data for High-Pass IIR filter. Note correct filter coefficients are also included in this document. In the original objectives under the third bullet it was stated: Learn how to implement digital iir filter in DSP using: 32-bit floating point emulation 16-bit integer arithmetic 16-bit fractional arithmetic The correction to the HP filter coefficients is given below: /* * Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool * * Generated by MATLAB(R) 6.5.1 and the Signal Processing Toolbox 6.1. * * Generated on: 16-Feb-2007 11:43:15 * */ /* * Discrete-Time IIR Filter (real) * ------------------------------- * Filter Structure
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: : Direct-Form II, Second-Order Sections * Filter Order : 5 * Stable : Yes * Linear Phase : No */ /* General type conversion for MATLAB generated C-code */ #include "tmwtypes.h" /* * Expected path to tmwtypes.h * C:\MATLAB6p5p1\extern\include\tmwtypes.h */ /* * Warning - Filter coefficients were truncated to fit specified data type. * The resulting response may not match generated theoretical response. * Use the Filter Design & Analysis Tool to design accurate fixed-point * filter coefficients. */ #define MWSPT_NSEC 4 const int NL[MWSPT_NSEC] = { 1,2,3,3 }; const real32_T NUM[MWSPT_NSEC][3] = { { 0.8173958659, 0, 0 }, { 1, -1, 0 }, { 1, -1.986638904, 1 }, { 1, -1.965208292, 1 } }; const int DL[MWSPT_NSEC] = { 1,2,3,3 }; const real32_T DEN[MWSPT_NSEC][3] = { { 1, 0, 0 }, { 1, -0.8822702169, 0 }, { 1, -1.791189313, 0.8174005151 }, { 1, -1.878196359, 0.9264635444 } };...
View Full Document

Page1 / 2

ADDENDUM2-LAB4_02_16_2007 - : Direct-Form II, Second-Order...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online