FFT of vibration data

조회 수: 3 (최근 30일)
gagan sharma
gagan sharma 2020년 12월 22일
편집: Walter Roberson 2020년 12월 22일
I have vibration data in time domain and i m unable to do FFT of this. please guide me
sampling rate 800 sample/sec
thanks

채택된 답변

Adeel Ashraf
Adeel Ashraf 2020년 12월 22일
편집: Walter Roberson 2020년 12월 22일
Fs = 800; % sampling rate of 1000 Hz
t = 0:1/Fs:1-1/Fs;
x = ad2;
xdft = fft(x);
xdft = xdft(1:length(x)/2+1);
DF = Fs/length(x); % frequency increment
freqvec = 0:DF:Fs/2;
plot(freqvec,abs(xdft))
I hope this can work

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by