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

タグ

質問済み:

2021 年 4 月 10 日

回答済み:

2021 年 4 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by