This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6748: 请问下,有关于在C6748上滤波(FIR/IIR)设计的问题

Part Number: TMS320C6748


请问下,参考例程操作步骤生成IIR参数,发现matlab生成的是二维数据,而非例程中的一维数组,不知什么原因?未找到相关设计资源?如matlab设计滤波导出到ccss上使用。

二维数组:

#define MWSPT_NSEC 5
const int NL[MWSPT_NSEC] = { 1,3,1,3,1 };
const real32_T NUM[MWSPT_NSEC][3] = {
{
0.1573822349, 0, 0
},
{
1, 2, 1
},
{
0.1179485694, 0, 0
},
{
1, 2, 1
},
{
1, 0, 0
}
};
const int DL[MWSPT_NSEC] = { 1,3,1,3,1 };
const real32_T DEN[MWSPT_NSEC][3] = {
{
1, 0, 0
},
{
1, -0.8976579309, 0.5271869302
},
{
1, 0, 0
},
{
1, -0.6727409363, 0.1445351988
},
{
1, 0, 0
}
};

一维数组:
const int NL = 9;
const float NUM[NL ] = {0.0185630098, 0.07425203919, 0.1113780662, 0.07425203919, 0.0185630098};
const int DL = 9;
const float DEN[DL ] = {1, -1.570398808, 1.275613308, -0.4844033718, 0.07619706541};