FFT Function from Table

Hello, I am trying to use the fft function to develop coefficients from a signal. I have a 2 column table and I need to complete the fft function for the second column. Seems simple enough, but I’m receiving the NaN value for my variable Y=fft(variable column). I did it two weeks ago, but now I am unable to develop the coefficients to plot. Let me know if you can think of anything! thanks

回答(1 个)

Star Strider
Star Strider 2021-4-10

0 个投票

There could be NaN values in the column (at least that’s my assumption).
In that event, the fillmissing funciton will interpolate to fill them, and will likely not significantly affect the accuracy of the resulting fft output.

类别

在 帮助中心 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

产品

版本

R2019a

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by