필터 지우기
필터 지우기

FFT, acceleration-frequency, vibration

조회 수: 3 (최근 30일)
Gloria
Gloria 2019년 10월 8일
Hello everybody ;
I have torsional angle values and axial displacements.
I first try to draw the acceleration-frequency graph by taking the derivative of values first and then applying fft.
I'm trying to figure out where I made a mistake at Matlab.
When I thought that the graph I had drawn was correct, my friend calculated it using Phayton,
and our results turned out very different, and his are quite close to the correct one.
I'm trying to figure out where I made a mistake at Matlab.
I would be glad if you help.
%% For two times derivatives
t=t1(1:end-2);
t_step = 0.005;
v=diff(x1)./t_step;
a=diff(v)./t_step;
%% for fft
ts=1/t_step;
N2=2^nextpow2(length(a));
freq2=(0:1:(N2-1)/2)*ts/N2;
fx1=fft(a,N2)/N2*2;
ffx1=abs(fx1(1:floor(N2/2)));
plot(freq2,ffx1),xlabel('Frequency (Hz)'), ylabel('Acceleration (m/s^2)')

답변 (0개)

카테고리

Help CenterFile Exchange에서 Vibration Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by