Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 140 Bytes
function dy=pend_rot(t,y,l,w,a)
dy=zeros(size(y));
dy(1)=y(2);
dy(2)=-9.81/l*sin(y(1))+w^2*sin(y(1))*cos(y(1))+a*w^2/l*cos(y(1));
end
You can’t perform that action at this time.