User`s guide
Exporting Filter Coefficients to Your Code Composer Studio Project
/*
* Filter Coefficients (C Source) generated by the Filter Design and Analysis Tool
*
* Generated by MATLAB(R) 7.8 and the Signal Processing Toolbox 6.11.
*
* Generated on: xx-xxx-xxxx 14:24:45
*
*/
/*
* Discrete-Time IIR Filter (real)
* -------------------------------
* Filter Structure : Direct-Form II, Second-Order Sections
* Number of Sections : 5
* Stable : Yes
* Linear Phase : No
*/
/* General type conversion for MATLAB generated C-code */
#include "tmwtypes.h"
/*
* Expected path to tmwtypes.h
* $MATLABROOT\extern\include\tmwtypes.h
*/
#define MWSPT_NSEC 11
const int NL[MWSPT_NSEC] = { 1,3,1,3,1,3,1,3,1,3,1 };
const real64_T NUM[MWSPT_NSEC][3] = {
{
0.802536131462, 0, 0
},
{
0.2642710234701, 0.5285420469403, 0.2642710234701
},
{
1, 0, 0
},
{
0.1743690465012, 0.3487380930024, 0.1743690465012
},
5-13