以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 C/C++编程思想 』  (http://bbs.xml.org.cn/list.asp?boardid=61)
----  [求助]应该如何编程?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=61&rootid=&id=28782)


--  作者:winniesnow
--  发布时间:3/17/2006 3:10:00 AM

--  [求助]应该如何编程?
1,Program DFT and inverse DFT in C programming language which computes the analysis and synthesis equations in lecture note #3.   Your program is to accept an input parameter for DFT length.  Perform DFT with following inputs, then inverst DFT with your DFT results.  Compare the results from IDFT with the original input.  Do you see more than two frequency components in your FFT result?  Explain where those spurious frequency components came from.
  
2,Program FFT and Inverse FFT in C programming language.  Perform FFT with the same input as above, then IFFT with your FFT results.  Compare the results with previous one.  


3,Perform FFT and IFFT in Matlab with the same input sequence, and compare the results with those you got from your C program.

Following:  Generate your input sequence by adding two sine waves of 1KHz and 3KHz, and sampling at 10KHz.  Try FFT length of both 32 and 64.  

上面的三道题应该如何做?有高手愿意指导我吗?因为我新人,什么都不会,谢谢了。


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
31.250ms