Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
11 lines (11 sloc) 202 Bytes
function dy=phugoid_ode(t,y)
g=9.81;
vt=5.5;
cl=5.2;
cd=1;
dy=zeros(size(y));
dy(1)=-g*sin(y(2))-cd/cl*g/vt^2*y(1)^2;
dy(2)=-g/y(1)*cos(y(2))+g/vt^2*y(1);
dy(3)=y(1)*cos(y(2));
dy(4)=y(1)*sin(y(2));
end
You can’t perform that action at this time.