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

📄 tpmp.m

📁 详细介绍了Mathlab的使用方法与技巧
💻 M
字号:
function tpmp
global p Cinf Mp tp
jieshu=0;
jj=find(p>=0);
if length(jj)>0
   trdisp1=['系统不稳定超调参数和峰值时间无意义!'];
   helpdlg(trdisp1,'时域指标');
else
  if Mp<=Cinf
     trdisp=['        系统无超调'];
     helpdlg(trdisp,'时域指标');
  else
      mp=(Mp-Cinf)*100/Cinf;
      tpmpdisp=['峰值时间tp=' num2str(tp) 's  最大超调量Mp=' num2str(mp) '%'];
      helpdlg(tpmpdisp,'时域指标');
   end
end

⌨️ 快捷键说明

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