필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
DRISHYA S KUMAR P N
DRISHYA S KUMAR P N 2020년 10월 21일
댓글: Mathieu NOE 2020년 10월 28일
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
Divija Aleti
Divija Aleti 2020년 10월 28일
Can you attach the excel sheet 'sujith.xlsx' along with your entire code so we can understand better ?
Mathieu NOE
Mathieu NOE 2020년 10월 28일
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);

댓글을 달려면 로그인하십시오.

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by