最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Defining length for fft in Matlab - Stack Overflow

programmeradmin1浏览0评论

I have a question to the command fft in Matlab. By using the default settings Matlab assumes the signal to be periodic with a periodicity of 2π. However, for my problem I need to apply the FFT to a signal that is periodic in L ≠ 2π.

I am sure there is a proper function for this in Matlab. I am pretty new in Matlab and I didn't find anything in the documentation of fft.

To be precise: I want fast fourier transform an array with N emenets by using the frequencies [0, L/N,..., L*(N-1)/N]. I know that it would be easy to write a code by simply calculating the fft manually, but I guess there must be an efficient command available in matlab.

发布评论

评论列表(0)

  1. 暂无评论