FFT of vibration data

3 Ansichten (letzte 30 Tage)
gagan sharma
gagan sharma am 22 Dez. 2020
Bearbeitet: Walter Roberson am 22 Dez. 2020
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

Akzeptierte Antwort

Adeel Ashraf
Adeel Ashraf am 22 Dez. 2020
Bearbeitet: Walter Roberson am 22 Dez. 2020
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

Weitere Antworten (0)

Kategorien

Mehr zu Acoustics, Noise and Vibration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by