fig6_57a.m
来自「包含了控制理论的各种仿真程序」· M 代码 · 共 24 行
M
24 行
% Fig. 6.57a Feedback Control of Dynamic Systems, 4e
% Franklin, Powell, Emami
%
% response comparison of continuous and digital control step.
clear all;
close all;
sim('fig6_57c')
r=[1 1]; %reference input
t=[0 5];
plot(t,r,'r')
hold on
plot(ycd(:,1),ycd(:,2))
plot(ycd(:,1),ycd(:,3),'m:')
title('Figure 6.57(a) Step Responses of Digital and Continuous Controllers')
ylabel('y')
xlabel('Time (sec)')
text(1.1,1.06, '\leftarrow continuous controller')
text(.7,1.23, '\leftarrow digital controller')
grid
hold off
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?