필터 지우기
필터 지우기

Highpass Filter does not work

조회 수: 2 (최근 30일)
Michael Werthmann
Michael Werthmann 2019년 2월 28일
Hello,
I meassured a 85 Hz signal with a sampling frequency of 8000 Hz. Now I want to filter out the noise and artifacts below 10 Hz
I created a butter Highpass with designfilt with the following properties:
Samplerate: 1 KHz
Stopband Atten: 60 dB
Passband Edge: 60 Hz
Stopband Edge: 20 Hz
Passband Ripple: 1 dB
This results in the red Spectrum, which represents the filtered...
frequencies.png
Zfilt(1,:) = filter(ans,Zvis(1,:));
Zfilt(2,:) = filter(ans,Zvis(2,:));
%
Zviss=abs(fft(Zvis(1,:))).^2;
Zfilts=abs(fft(Zfilt(1,:))).^2;
%
figure;
f=0:fs/length(Zvis):(length(Zvis)-1)*(fs/length(Zvis));
plot(f,Zviss); hold on;
plot(f,Zfilts,'r');
xlim([1 100]);
Where is my mistake?
Thank You for your help!
Kind Regards
Michael

답변 (0개)

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by