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

📄 funkcja_plot.m

📁 Inverted pendulum in cart controled by torque. It contains regulators: one to move it, second to sta
💻 M
字号:
function[]=funkcja_plot(u)
x=u(1);
o=u(2);

hold off

plot([x-2,x+2,x+2,x-2,x-2],[-0.2,-0.2,0.2,0.2,-0.2])

AXIS([-5 20 -2 2])

hold on

plot([x,x+5*cos(o)],[0,sin(o)],'g')

⌨️ 快捷键说明

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