Acceleration vs Time data into FFT

8 ビュー (過去 30 日間)
nur yusof
nur yusof 2015 年 1 月 17 日
コメント済み: nur yusof 2015 年 1 月 21 日
I have acceleration vs time data. I want to get FFT value from the data.Can someone show me the way?

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 17 日
spectrum = fft(signal);
  8 件のコメント
nur yusof
nur yusof 2015 年 1 月 18 日
I import the data into matlab. Thats means the coding should be spectrum = fft(signal); plot(1:N,abs (spectrum));
Is it true??
nur yusof
nur yusof 2015 年 1 月 21 日
I got the FFT value from your coding image analyst.Is the bandwidth of FFT data according to my time history domain data?If not,how to ensure the bandwidth is within the interval?Can you brief me about the coding? My bandwidth range is 50Hz-500Hz from time domain history data.

サインインしてコメントする。

その他の回答 (1 件)

Shoaibur Rahman
Shoaibur Rahman 2015 年 1 月 17 日
Define the number of DFT points N, and then perform the fft.
N = pow2(nextpow2(length(signal)));
y = fft(signal,N);
plot(1:N,abs(y))
If the length of your signal is a big number then set the value of N manually to a lower value, like N = 64, 128, 256, etc. This will make your figure to look better sometime, but note that that may not be accurate always from the computational point of view.
  8 件のコメント
nur yusof
nur yusof 2015 年 1 月 18 日
Attached previous figure is solve by Shoaibur's coding. While, attached figure solve by image analyst.I dont know why the figure look like that.I think the frequency solve by Shoaibur is high maybe due to the the vibration of bridge,vehicle and noise from environment.So, it has high value.
nur yusof
nur yusof 2015 年 1 月 21 日
I got the FFT value from the coding.Is the bandwidth of FFT data according to my time history domain data?If not,how to ensure the bandwidth is within the interval?Can you brief me about the coding? My bandwidth range is 50Hz-500Hz from time domain history data.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by