Extract natural frequencies from acceleration data by FFT
Show older comments
Hi all,
I have problems when calculating frequencies from sample data by FFT in Matlab. The data file shows acceleration in cm/s^2. Sampling frequency is 200 Hz. The file can be downloaded here: http://ifile.it/pqdvhwx. Can you please share a Matlab code for this?
1 Comment
Arnaud Miege
on 29 Jul 2011
Can you show us what you've done so far?
Answers (2)
Bjorn Gustavsson
on 29 Jul 2011
0 votes
At the matlab command line prompt type: help spectrogram
2 Comments
medo_sk
on 29 Jul 2011
Bjorn Gustavsson
on 29 Jul 2011
Ok, but it would only take you about 30 s to test wouldn't it? I happen to have used that very function to find natural frequencies for sampled signals - as far as I understan this is the first stab-function to use for this purpose - especially if one expects that the dominating frequencies varies.
medo_sk
on 29 Jul 2011
4 Comments
Arnaud Miege
on 29 Jul 2011
OK, so you have pre-processed and plotted your data in the time domain. Now you need to take the FFT of your data using the fft function. Have a look at the documentation, there are a couple of detailed examples. Adapt them to your data:
http://www.mathworks.com/help/releases/R2011a/techdoc/ref/fft.html
Arnaud Miege
on 29 Jul 2011
Also consider formatting your answer so that it's readable:
http://www.mathworks.co.uk/matlabcentral/answers/help/markup
medo_sk
on 29 Jul 2011
Arnaud Miege
on 1 Aug 2011
Thanks for formatting your answer, much appreciated!! Can you post the code you are using to compute the FFT of your data?
Categories
Find more on Bartlett in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!