top_der.m
来自「Dispersion de Rutherford en Matlab」· M 代码 · 共 8 行
M
8 行
%top_der.m: returns the derivatives for the symmetric top problem
function ders = top_der(t,w,flag,I,Is,ws,tau0)
%w(1):phi, w(2):phi_dot, w(3):theta, w(4):theta_dot, w(5):psi
%main program produces w(6):psi_dot
ders=[w(2);(Is*ws-2*I*w(2).*cos(w(3))).*w(4)./(I*sin(w(3)));...
w(4);(tau0-(Is*ws-I*w(2).*cos(w(3))).*w(2)).*sin(w(3))/I;...
ws-w(2).*cos(w(3));];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?