pendulum.m
来自「solve power flows by gauss seidel method」· M 代码 · 共 4 行
M
4 行
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 + =
减小字号Ctrl + -
显示快捷键?