|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
w0=2*pi*2000; wb=1;
[z,p,k]=cheb1ap(3,3); [b,a]=zp2tf(z,p,k);
[num,den]=lp2bs(b,a,w0,wb); bode(num,den);
w=linspace(1,3000,300)*2*pi; H=freqs(num,den,w);
plot(w/(2*pi),abs(H));grid
%设计带阻滤波器。见附件1
%当用双线性变换法离散时,
[b1,b2]=bilinear(num,den,8000);
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 6.980122e-041.
> In bilinear at 89
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 6.980122e-041.
> In bilinear at 90
请高手帮忙看看到底是什么地方错了阿?自己实在是想不明白阿
[ 本帖最后由 zhangnan3509 于 2009-4-9 10:22 编辑 ] |
|