admin管理员组

文章数量:1434162

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.

本文标签: Defining length for fft in MatlabStack Overflow