Trying to transform data into FFT format
이전 댓글 표시

I have been trying to convert data into FFT format, but it does not look like a wave in the graph. The columns I am calling to match the first plotted diagram. The data does not look like a wave up close as it should. I am assuming that is the problem.
%T = xlsread('Baseline.xlsx');
t = T(:,1);
x_t = T(:,5);
t=t-t(1);
plot(t,x_t);
S = [t,x_t]
X = fft(S)
plot(X)
댓글 수: 2
Walter Roberson
2022년 8월 24일
Why are you taking a fourier transform of your time variable? Why does your time variable have duplicate values? Why does the other column contain nan or inf?
Mason Condren
2022년 8월 24일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!