📄 pendulum.m
字号:
function xdot = pendulum(t,x); % returns the state derivatives
W =2; L = .6; B = 0.02; g = 9.81; m =W/g;
xdot = [x(2) ; -B/m*x(2)-W/(m*L)*sin(x(1)) ];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -