How to use low pass flter for time domine data
조회 수: 19 (최근 30일)
이전 댓글 표시
Hello
I need to filter high frequency data and allow only low frequency.
Can I use low pass filter in time domine data to filter noise signal without using FFT to convert data in frequency domine and use a low pass filter then take ifft.
Pls some one help me.
--Thanks
댓글 수: 0
채택된 답변
Youssef Khmou
2013년 3월 23일
hi, you can use built-in functions "butter" and " filter" , example :
Fs=8000; % SAMPLING FREQUENCY
t=0:1/Fs:2;
f1=500; %lower frequency
f2=1500; % upper frequency
y=chirp(t,f1,2,f2); % THE SIGNAL WITH BANDWIDTH 1000 Hz
Fc=1500; % cutoff frequency .
Fn=Fs/2;
% Filter implementation
[b,a]=butter(2,Fc/Fn,'low');
x=filter(b,a,y);
I hope this helps
댓글 수: 10
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Prediction에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!