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