Extract natural frequencies from acceleration data by FFT
古いコメントを表示
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 件のコメント
Arnaud Miege
2011 年 7 月 29 日
Can you show us what you've done so far?
回答 (2 件)
Bjorn Gustavsson
2011 年 7 月 29 日
0 投票
At the matlab command line prompt type: help spectrogram
2 件のコメント
medo_sk
2011 年 7 月 29 日
Bjorn Gustavsson
2011 年 7 月 29 日
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
2011 年 7 月 29 日
4 件のコメント
Arnaud Miege
2011 年 7 月 29 日
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
2011 年 7 月 29 日
Also consider formatting your answer so that it's readable:
http://www.mathworks.co.uk/matlabcentral/answers/help/markup
medo_sk
2011 年 7 月 29 日
Arnaud Miege
2011 年 8 月 1 日
Thanks for formatting your answer, much appreciated!! Can you post the code you are using to compute the FFT of your data?
カテゴリ
ヘルプ センター および File Exchange で Get Started with Signal Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!