声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 898|回复: 2

[综合讨论] 一个滤波器的问题

[复制链接]
发表于 2008-12-17 14:10 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
butter函数的帮助文件里,有这样一个例子:
Design a 10th-order bandpass Butterworth filter with a passband from 100 to 200 Hz and plot its impulse response
代码如下:
n = 5; ?请教一下,n=5还是10?
Wn = [100 200]/500;
[b,a] = butter(n,Wn);
[y,t] = impz(b,a,101);
回复
分享到:

使用道具 举报

发表于 2008-12-17 16:02 | 显示全部楼层
10th-order, n=10
笔误吧!
 楼主| 发表于 2008-12-17 16:24 | 显示全部楼层

多谢

呵呵,因为看到另一个帮助文件里例子:
Design a 10th-order bandpass Chebyshev Type I filter with a passband from 100 to 200 Hz and plot its impulse response:
n = 10;   有点懵了,不知道以哪个为准
Rp = 0.5;
Wn = [100 200]/500;
[b,a] = cheby1(n,Rp,Wn);
[y,t] = impz(b,a,101); stem(t,y)
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-23 01:30 , Processed in 0.057642 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表