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

Answers (1)

Star Strider
Star Strider on 10 Apr 2021

0 votes

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.

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Products

Release

R2019a

Tags

Asked:

on 10 Apr 2021

Answered:

on 10 Apr 2021

Community Treasure Hunt

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

Start Hunting!