Extract natural frequencies from acceleration data by FFT
Mostra commenti meno recenti
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 Commento
Arnaud Miege
il 29 Lug 2011
Can you show us what you've done so far?
Risposte (2)
Bjorn Gustavsson
il 29 Lug 2011
0 voti
At the matlab command line prompt type: help spectrogram
2 Commenti
medo_sk
il 29 Lug 2011
Bjorn Gustavsson
il 29 Lug 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
il 29 Lug 2011
4 Commenti
Arnaud Miege
il 29 Lug 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
il 29 Lug 2011
Also consider formatting your answer so that it's readable:
http://www.mathworks.co.uk/matlabcentral/answers/help/markup
medo_sk
il 29 Lug 2011
Arnaud Miege
il 1 Ago 2011
Thanks for formatting your answer, much appreciated!! Can you post the code you are using to compute the FFT of your data?
Categorie
Scopri di più su Get Started with Signal Processing Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!