How can i take the FFT of this signal. Please any one can help me.

1 visualización (últimos 30 días)
DRISHYA S KUMAR P N
DRISHYA S KUMAR P N el 21 de Oct. de 2020
Comentada: Mathieu NOE el 28 de Oct. de 2020
CORR=(X(:,1)-mean(X(:,1)))/g; %Shift of signal to zero value
%Plot Corrected signal in Time Domain
figure(3)
plot(t,CORR);
title('Corrected signal in Time Domain');
xlabel('Time [s]');
ylabel('Acceleration [cm/s^2]');
  5 comentarios
Divija Aleti
Divija Aleti el 28 de Oct. de 2020
Can you attach the excel sheet 'sujith.xlsx' along with your entire code so we can understand better ?
Mathieu NOE
Mathieu NOE el 28 de Oct. de 2020
Hi
I think it's just because there is an error in your code :
xdft=fft(t,CORR);
to be replaced by
xdft=fft(CORR,N);

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by