How to design a narrow bandpass filter to pass frequencies between 90 and 110 Hz?

조회 수: 1 (최근 30일)
David
David 2014년 9월 16일
답변: Honglei Chen 2014년 9월 16일
My aim is to pass 100 Hz frequencies of my input signal (only), however I can afford to have ± 10 Hz of filtration inaccuracy.
My input signal has sampling frequency of 44100 Hz. How can I go about this? I've come up with this code so far:
[input, fs] = wavread('');
fc = [90,110];
T = 1/fs;
fn = fc/(fs/2);
Rs = 40;
N = 9;
[B,A] = cheby2(N,Rs,fn,'bandpass');
filter(B,A,input);
Thank you in advance!

답변 (1개)

Honglei Chen
Honglei Chen 2014년 9월 16일
You may want to use cheb2ord to estimate the order of the filter first, that function will also return the ws needed in cheby2 function.
HTH

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by