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

📄 fig9_47.m

📁 世界经典教材《现代控制系统》第八版MATLAB仿真源码
💻 M
字号:
% Chapter 9: Figure 9.47, p. 524%%   The Bode plot of the liquid level control system with%   gain and phase margin.  The gain K must be input at the%   command level before executing this m-file.  Automatic%   labeling of the plot with gain and phase margin.%num=K*[0.0743 -0.4460 0.8920]; d1=[1 1]; d2=[30 1]; d3=[1/9 1/3 1]; d4=[ 0.0743 0.4460 0.8920]; den=conv(d1,conv(d2,conv(d3,d4)));%w=logspace(-2,1,400);[mag,phase,w]=bode(num,den,w);[Gm,Pm,Wcg,Wcp]=margin(mag,phase,w);%bode(num,den), subplot(211)title(['Gain Margin = ',num2str(Gm), ...'  Phase Margin = ',num2str(Pm)])

⌨️ 快捷键说明

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