基于MATLAB语言编程的系统S平面分析(6)

2019-08-01 22:46

>>

subplot(3,1,3),plot(t,h3t),title('\\sigma=,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

?=0.04,??0.6:?0.3:0

>> syms t s;

>> h1=1/(s-0.04-0.6*i); >> h2=1/(s-0.04-0.3*i); >> h3=1/(s-0.04); >> h1t=ilaplace(h1) h1t =

exp(1/25*t)*(cos(3/5*t)+i*sin(3/5*t)) >> h2t=ilaplace(h2) h2t =

exp(1/25*t)*(cos(3/10*t)+i*sin(3/10*t)) >> h3t=ilaplace(h3) h3t = exp(1/25*t) >> t=-50:0.1:50;

>> h1t =exp(1/25.*t).*(cos(3/5.*t)+i.*sin(3/5.*t)); >> h2t =exp(1/25.*t).*(cos(3/10.*t)+i.*sin(3/10.*t)); >> h3t =exp(1/25*t); >>

subplot(3,1,1),plot(t,h1t),title('\\sigma=0.04,\\omega=0.6'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored. >>

subplot(3,1,2),plot(t,h2t),title('\\sigma=0.04,\\omega=0.3'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored.

>>

subplot(3,1,3),plot(t,h3t),title('\\sigma=0.04,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

?=-0.04:0.02:0.04,?=0.6

>> syms t s;

>> h1=1/(s+0.04-0.6*i); >> h2=1/(s+0.02-0.6*i); >> h3=1/(s-0.6*i); >> h4=1/(s-0.02-0.6*i); >> h5=1/(s-0.04-0.6*i); >> h1t=ilaplace(h1) h1t =

exp(-1/25*t)*(cos(3/5*t)+i*sin(3/5*t)) >> h2t=ilaplace(h2) h2t =

exp(-1/50*t)*(cos(3/5*t)+i*sin(3/5*t)) >> h3t=ilaplace(h3) h3t =

cos(3/5*t)+i*sin(3/5*t) >> h4t=ilaplace(h4) h4t =

exp(1/50*t)*(cos(3/5*t)+i*sin(3/5*t)) >> h5t=ilaplace(h5) h5t =

exp(1/25*t)*(cos(3/5*t)+i*sin(3/5*t)) >> t=-50:0.1:50;

>> h1t =exp(-1/25.*t).*(cos(3/5.*t)+i.*sin(3/5.*t)); >> h2t =exp(-1/50.*t).*(cos(3/5.*t)+i*sin(3/5.*t)); >> h3t =cos(3/5.*t)+i.*sin(3/5*t);

>> h4t =exp(1/50.*t).*(cos(3/5.*t)+i.*sin(3/5.*t)); >> h5t =exp(1/25.*t).*(cos(3/5.*t)+i.*sin(3/5.*t)); >>

subplot(2,3,1),plot(t,h1t),title('\\sigma=-0.04,\\omega=0.6'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored. >>

subplot(2,3,2),plot(t,h2t),title('\\sigma=-0.02,\\omega=0.6'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored. >>

subplot(2,3,3),plot(t,h3t),title('\\sigma=0,\\omega=0.6'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored. >>

subplot(2,3,4),plot(t,h4t),title('\\sigma=0.02,\\omega=0.6'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored. >>

subplot(2,3,5),plot(t,h5t),title('\\sigma=0.04,\\omega=0.6'),xlabel('\\sigma'),ylabel('j\\omega')

Warning: Imaginary parts of complex X and/or Y arguments ignored. >>

?=-0.04:0.02:0.04,?=0

>> syms t s; >> h1=1/(s+0.04); >> h2=1/(s+0.02); >> h3=1/s; >> h4=1/(s-0.02); >> h5=1/(s-0.04);

>> h1t=ilaplace(h1) h1t = exp(-1/25*t) >> h2t=ilaplace(h2) h2t = exp(-1/50*t) >> h3t=ilaplace(h3) h3t = 1

>> h4t=ilaplace(h4) h4t = exp(1/50*t) >> h5t=ilaplace(h5) h5t = exp(1/25*t) >> t=-50:0.1:50; >> h1t =exp(-1/25.*t); >> h2t =exp(-1/50*t); >> h3t =1; >>h4t =exp(1/50*t); >> h5t =exp(1/25*t); >>

subplot(2,3,1),plot(t,h1t),title('\\sigma=-0.04,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

subplot(2,3,2),plot(t,h2t),title('\\sigma=-0.02,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

subplot(2,3,3),plot(t,h3t),title('\\sigma=0,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

subplot(2,3,4),plot(t,h4t),title('\\sigma=0.02,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

subplot(2,3,5),plot(t,h5t),title('\\sigma=0.04,\\omega=0'),xlabel('\\sigma'),ylabel('j\\omega') >>

分析由系统函数零、极点分布决定频率特性代码如下: a图: >> s=0:0.1:5;

>> H=1./(s.*i+1)+1./(s.*i+2); >> plot(s,H)

Warning: Imaginary parts of complex X and/or Y arguments ignored. >> xlabel('\\omega') >> ylabel('|H(j\\omega)|') >> title('a 图幅频特性曲线') b图: >> s=0:0.1:5;

>> H=(i.*s)./((s.*i+1).*(s.*i+2)); >> plot(s,H)

Warning: Imaginary parts of complex X and/or Y arguments ignored. >> xlabel('\\omega') >> ylabel('|H(j\\omega)|') >> title('b 图幅频特性曲线') >> c图: >> s=0:0.1:5;

>> H=(i.*s+1)./((s.*i+2).*(s.*i+3)); >> plot(s,H)

Warning: Imaginary parts of complex X and/or Y arguments ignored. >> xlabel('\\omega')


基于MATLAB语言编程的系统S平面分析(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:现代汉语试题及答案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: