⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fig5_34.m

📁 包含了控制理论的各种仿真程序
💻 M
字号:
% Fig. 5.34  Feedback Control of Dynamic Systems, 4e 
%             Franklin, Powell, Emami
% script to generate figure 5.34(a) and (b)
% response comparison of continuous and digital lead control.
sim('fig534sim')
figure(1)
plot(ycd(:,1),ycd(:,2),ycd(:,1),ycd(:,3))
% plot(ycd(:,1),ycd(:,2))
title('Figure 5.34 Comparison of analog and digital control(a) Output Response')
xlabel('Time (sec)');
ylabel('Amplitude');
gtext('continuous controller')
gtext('digital controller')
grid
figure(2)
plot(ucd(:,1),ucd(:,2),ucd(:,1),ucd(:,3))
% plot(ucd(:,1),ucd(:,2))
xlabel('Time (sec)');
ylabel('Amplitude');
title('Figure 5.34(b) Control Responses')
gtext('continuous controller')
gtext('digital controller')
grid


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -