Extract natural frequencies from acceleration data by FFT
Mostrar comentarios más antiguos
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 comentario
Arnaud Miege
el 29 de Jul. de 2011
Can you show us what you've done so far?
Respuestas (2)
Bjorn Gustavsson
el 29 de Jul. de 2011
0 votos
At the matlab command line prompt type: help spectrogram
2 comentarios
medo_sk
el 29 de Jul. de 2011
Bjorn Gustavsson
el 29 de Jul. de 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
el 29 de Jul. de 2011
4 comentarios
Arnaud Miege
el 29 de Jul. de 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
el 29 de Jul. de 2011
Also consider formatting your answer so that it's readable:
http://www.mathworks.co.uk/matlabcentral/answers/help/markup
medo_sk
el 29 de Jul. de 2011
Arnaud Miege
el 1 de Ag. de 2011
Thanks for formatting your answer, much appreciated!! Can you post the code you are using to compute the FFT of your data?
Categorías
Más información sobre Get Started with Signal Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!