system of nonlinear differential equations

조회 수: 1 (최근 30일)
osman
osman 2012년 4월 17일
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
osman
osman 2012년 4월 17일
any suggestion
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