📄 dydttaylor.m
字号:
%% Author: epokh
%% Website: www.epokh.org/drupy
%% This software is under GPL
function ydrift=dydtTaylor(vr,vl,theta0,t,b,Yd)
%%this function calculate the drift from the center line (x axis)
%%with Taylor approssimation
sr=vr*t;
sl=vl*t;
%% an essential assumption here is that the initial drift
if(t==0)
ydrift=Yd(end);
else
ydrift=(sr+sl)*(sr-sl+b*theta0)/(2*t*b);
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -