資源簡介
做課程設計時,做的幾個濾波器,和全部代碼。
代碼片段和文件信息
?Rs=30;?Rp=1;?T=0.0001;
wp=4000*pi;?ws=12000*pi;
[NWn]=buttord(wpwsRpRs‘s‘);
[ba]=butter(NWn‘s‘);
[bzaz]=bilinear(ba1/T);
w=0:0.05*pi:pi;
[Hw]=freqz(bzazw);
figure(2);
subplot(221)plot(w/pi20*log10(abs(H)));grid;axis([01-10010]);
xlabel(‘頻率(HZ)‘);ylabel(‘振幅(dB)‘);
title(‘雙線性變換法設計的低通濾波器‘)
subplot(222)plot(w/pi180/pi*unwrap(angle(H)));grid;axis([01-20010]);
xlabel(‘頻率(HZ)‘);ylabel(‘相位(rad/s)‘);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????509??2010-09-15?11:54??xinhao\dtwindows.m
?????文件????????507??2010-09-15?11:55??xinhao\dzwindows.m
?????文件??????22060??2010-09-14?22:28??xinhao\jiemian.fig
?????文件???????1680??2010-09-15?13:20??xinhao\xinhao.m
?????文件????????457??2010-09-14?20:54??xinhao\dbatewozi.m
?????文件????????417??2010-09-15?11:53??xinhao\dwindows.m
?????文件????????464??2010-09-14?20:54??xinhao\hbatewozi.m
?????文件??????11351??2010-09-14?22:28??xinhao\jiemian.m
?????文件????????478??2010-09-14?22:53??xinhao\dtbatewozi.m
?????文件????????485??2010-09-14?22:53??xinhao\dzbatewozi.m
?????文件????????423??2010-09-15?13:29??xinhao\hwindows.m
?????文件???????9255??2010-09-15?13:28??xinhao\xinhao1.m
?????文件???????4656??2010-09-08?09:14??xinhao\六種濾波器.txt
?????文件???????2626??2010-09-14?18:50??xinhao\新建?文本文檔?(2).txt
?????文件?????441856??2010-09-19?12:40??xinhao\課程設計.doc
?????文件??????72704??2010-09-01?23:04??xinhao\08級《現代信號處理》課程設計任務書.doc
?????目錄??????????0??2010-09-15?13:30??xinhao
-----------?---------??----------?-----??----
???????????????569928????????????????????17
- 上一篇:Matlab光學實驗的模擬
- 下一篇:matlab窗函數截斷及其頻譜
評論
共有 條評論