FIR filter

4 ビュー (過去 30 日間)
yasser safi
yasser safi 2012 年 5 月 7 日
clarify the fir1 code plzz?? and how to design filter
i designed the cheby fiter but i cant design the fir1 filter
function filtered_sig = cheby_filter(no,c,w,x,R)
w2 = c+(w/2);
w1 = c-(w/2);
W = [w1 w2];
[b,a] = cheby1(no,R,W);
filtered_sig = filtfilt(b,a,x');
filtered_sig = filtered_sig';
i need to design it in this way..

採用された回答

Wayne King
Wayne King 2012 年 5 月 7 日
I have no idea what you have declared for w1, w2, and no, but I'll assume those are correct.
w2 = c+(w/2);
w1 = c-(w/2);
W = [w1 w2];
b = fir1(no,W);
filtered_sig = filtfilt(b,1,x');
  1 件のコメント
yasser safi
yasser safi 2012 年 5 月 7 日
thats for chepy filter
i need function for FIR filter
our project is PCR and i wanf filter the data ( absorbance)

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by