資源簡介
設計cic 濾波器的matlab程序,可以實現對信號的抽取
代碼片段和文件信息
%對一個采樣頻率為45.5MHz的信號進行14倍的抽取濾波
%同時進行補償濾波器的設計,并給出CIC濾波器、補償濾波器和級聯后的頻譜圖
%??Design?a?minimum-order?CIC?compensator?that?compensates...
%??for?the?droop?in?the?passband?for?the?CIC?decimator.
Fs?=?45.5e6;?????%?Input?sampling?frequency
Fpass?=?0.5e6;???%?Frequency?band?of?interest
D?=?14;??????????%?Decimation?factor?of?CIC
d1?=?fdesign.decimator(D‘CIC‘1Fpass65Fs);?%design?a?cic?filter?
Hcic?=?design(d1);
Hd(1)?=?cascade(dfilt.scalar(1/gain(H
- 上一篇:基于膚色的簡易人臉檢測
- 下一篇:簡易matlab版2048
評論
共有 條評論