我使用CE018YFFTJDSPLIB示例代码,并使用默认设置值。1。当我设置断点在“VcTrimeBuffelSimult/ 2,and SigCMPX(0).Realand,PeaQueNeCyByBin);“(像PIC1),然后我复制SIGCMPX [0 ] ~SigCMPX [64 ](128分数数据到Excel)时,我得到PIC2,它似乎不像正弦(x)+1 /3Sin(3x)+1 /5Sin(5x)+……构造的方波。你能告诉我出什么事了吗?因为我想使用分析谐波。我已经确保频率和平方BitReverseComplex函数没有问题,但是我不知道FFTComplexIP有什么,……
以上来自于百度翻译
以下为原文
I'm using CE018_FFT_DSPlib sample code, and using default set
ting value.
1. when I set breakpoint in
"VectorMax(FFT_BLOCK_LENGTH/2, &sigCmpx[0].real, &peakFrequencyBin);" (like pic1)
then I copy sigCmpx[0]~sigCmpx[64] (128 fractional data to excel)
I got pic2
It seem not like square wave constructed by sin(x) + 1/3sin(3x) + 1/5sin(5x) +.....
could you tell me what's wrong ? because I want to use that analysish
ARMonic.
PS1. I had make sure that frequency & SquareMagnitudeCplx function is no problem,
but I don't know what's worng in FFTComplexIP, BitReverseComplex......
Attached Image(s)
0