of accountability, redress of orders and prohibitions. Strengthening the honesty and self-discipline of leading cadres h模型
仿真命令:
[A,B,C,D]=dlinmod(‘模型文件名’) %求状态空间矩阵。注意:’模型文件名’不含扩展名
dimpulse(A,B,C,D) %求冲激响应的波形
dimpulse(A,B,C,D,1,N1:N2)%求k=N1—N2曲线〔步长为1〕的冲激响应
dimpulse(A,B,C,D,1,N1::N2)%求冲激响应在k=N1—N2曲线〔步长为〕的部分样值
dstep(A,B,C,D) %绘制系统阶跃响应的波形
dstep(A,B,C,D,1,N1: :N2)
dbode(A,B,C,D,Ts); %求频率响应〔频率范围:,即〕。Ts为取样周期,一般取Ts=1.
dbode(A,B,C,D,Ts,iu:w0::w1);%求频率响应〔频率范围:,即,为频率步长〕:iu为系统输入端口的编号,系统只有一个输入端口时取iu=1.
以上命令,可以逐条在MATLAB命令窗口输入、执行,也可编写成M文件并运行,获得所需结果
of accountability, redress of orders and prohibitions. Strengthening the honesty and self-discipline of leading cadres honesty in politics and education work, enhance leaders ability to resist
of accountability, redress of orders and prohibitions. Strengthening the honesty and self-discipline of leading cadres honesty in politics and education work, enhance leaders ability to resist
of accountability, redress of orders and prohibitions. Strengthening the honesty and self-discipline of leading cadres honesty in politics and education work, enhance leaders ability to resist
三、实验内容
1、离散系统时域框图如图18-9所示。建立SIMULINK模型,求其状态空间矩阵、系统函数表达式、冲激响应、阶跃响应和频率特性。
图18-9
系统模型
M文件程序:
syms z
[A,B,C,D]=dlinmod('l18')
I=[1 0;0 1];
H=C*inv(z*I-A)*B+D
figure(6);
subplot(2,1,1);dimpulse(A,B,C,D);grid;
subplot(2,1,2);dstep(A,B,C,D
实验十八—离散系统的Simulink仿真 来自淘豆网www.taodocs.com转载请标明出处.