how to do FFT

5 views (last 30 days)
Vasilis Papadopoulos
Vasilis Papadopoulos on 8 Apr 2016
Commented: Star Strider on 10 Apr 2016
Hi, I have an assignment in wich i need to apply FFT in matlab. The problem is that i don't have any function or frequency because all of my data came out from an accelerometer. although i have sampling rate, sampling time interval and number of samples i don't know the frequency or the function of the sine wave formed by my data. Can you please enlighten me how to do my FFT? any help would be greatly appreciated

Accepted Answer

Star Strider
Star Strider on 8 Apr 2016
See the documentation for the R2015a version of fft. The code between the top two plot figures is what you need to do.
  4 Comments
Vasilis Papadopoulos
Vasilis Papadopoulos on 10 Apr 2016
thank you Sir
Star Strider
Star Strider on 10 Apr 2016
My pleasure.

Sign in to comment.

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!