本人使用的是C6000系列的DSP,在进行函数计算的时候遇到一个问题,问题描述如下:
for(i=0;i<1024;i++)
{
samdata[2*i] = sin(0.19634954*i);
samdata[2*i+1] = 0;
}
其中samdata[2*i+1] = 0; 是将正弦函数的虚部设置为0,但是0.19634954是怎么得到的呢?是不是所有实部的平方和。
谢谢给位大侠的回复!!
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.