system of nonlinear differential equations

1 次查看(过去 30 天)
I have two systems of nonlinear equation. I need to solve this equation with matlab.I'm searching in the internet but culdn't find the solution could you help me pls? equations are: http://d1204.hizliresim.com/w/k/4kn5l.png
  3 个评论
Walter Roberson
Walter Roberson 2012-4-17
Do the dots indicate differentiation?
If only theta and x are variable, but you are differentiating theta and x, then what are you differentiating them with respect to? Are you sure they are variables and not functions such as x(t) and theta(t) with differentiation with respect to t ?

请先登录,再进行评论。

采纳的回答

osman
osman 2012-4-29
function turev = derivati( t,h )
M_ball=0.0327;
g=9.8;
J_bm=0.0620;
K=4.9100;
Ke=4.77;
R=4.7;
Rb=0.01;
b=1.5279;
a1=0.0050;
V=1;
% h1=theta
% h2=Dtheta
% h3=x
% h4=Dx
% turev1=Dtheta
% turev2=D2theta
% turev3=Dx
% turev4=D2theta
turev=zeros(size(h));
turev(1) = h(2);
turev(2) = (K/(R*J_bm)*V)-(K*Ke/R+b)/J_bm*turev(1)-h(3)*M_ball/J_bm*g*cos(h(1));
turev(3) = h(4);
turev(4) = g*sin(h(1))/(1+(2/5)*(Rb/a1)^2);
end
this is my answer and it works. this may help somebody

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by