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

📄 fig5_40.m

📁 世界经典教材《现代控制系统》第八版MATLAB仿真源码
💻 M
字号:
% Chapter 5: Figure 5.40, p. 273%%    Compute the response of the Mobile Robot Control%    System to a triangular wave input.%numg=[10 20]; deng=[1 10 0];[num,den]=cloop(numg,deng);t=[0:0.1:8.2]';v1=[0:0.1:2]';v2=[2:-0.1:-2]';v3=[-2:0.1:0]';u=[v1;v2;v3];[y,x]=lsim(num,den,u,t);plot(t,y,t,u,'--'), xlabel('time [sec]'), ylabel('theta [rad]'), grid

⌨️ 快捷键说明

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