when I applied fft to displacement-time data , I cant see maximum displacement value?

1 Ansicht (letzte 30 Tage)
Maximum displacement is 1 , but with fft I can only see 0.9267? Where is my mistake?
t=0:0.01:10;
t_step=0.01;
ts=1/t_step;
x=sin(1.66*t);
figure(1);
plot(t,x);
x =x' .*hann(length(x))*2;
%x=x'.*flattopwin(length(x))*2;
N1=2^nextpow2(length(x));
freq1=(0:1:(N1-1)/2)*ts/N1;
fx1=fft(x,N1)/N1*2;
ffx1=abs(fx1(1:floor(N1/2)));
figure(2);
plot(freq1,ffx1);

Antworten (0)

Kategorien

Mehr zu Vibration Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by