Fast Fourier Transform with discrete data
Show older comments
i measured vibration with oscilloscope and get 1000 points of (time, voltage)
i have seen many example with input function x is known like below 2 sentence
x=sin(2*pi*40*t)+sin(2*pi*80*t);
X=fft(x);
but in case of me, i have discrete data and cannot find example
how can i build the code?
i have tried like below 4 sentence but i cannot make it
[data 1000x2 double]
y=data;
x=fft(y);
X=abs(x);
plot(X);
Accepted Answer
More Answers (0)
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!