- #1
a.gema
- 3
- 0
Hi,
I am a newbie to matlab
I have 4 equations ode to a system,
dxdt=-c*z*s')
dydt=((-1.021*(y^2))/(b+a))-(2.081015257+(6.936717523*x))/(b+a)+((p*r)-(p*j)/(b+a))-(((p^2)-2*p*(s^2)*c*z^2))/2*p')
dzdt=(((p^2)*r)-((p^2)*j))/(((S*x)+((p^2)*r))-((p^2)*j)/(b+a))-(((z^2)*c*(p^2))/(2*s*x))+(((z^2)*c*(s^2))/(2*s*x))-((z^2)*c*((p-s)^2)/2*s*(a+b))-(15.3*y^2)*(p/s)*(a+b)-(h/s*(a+b))')
drdt=(-m*(r^(((m+1)/m))*z*s))/(n^(((1/m))*v))-(n^(1/m))*k')
yes, I have replaced the variables that exist with the symbol
several variables that are known are abcspjknm
until recently I saw some tutorials and answers from this forum using the syntax 'dsolve'
more or less like this
u=dsolve('Dx=-c*z*s','Dy=((-1.021*(y^2))/(b+a))-(2.081015257+(6.936717523*x))/(b+a)+((p*r)-(p*j)/(b+a))-(((p^2)-2*p*(s^2)*c*z^2))/2*p','Dz=(((p^2)*r)-((p^2)*j))/(((S*x)+((p^2)*r))-((p^2)*j)/(b+a))-(((z^2)*c*(p^2))/(2*s*x))+(((z^2)*c*(s^2))/(2*s*x))-((z^2)*c*((p-s)^2)/2*s*(a+b))-(15.3*y^2)*(p/s)*(a+b)-(h/s*(a+b))','Dq=(-m*(r^(((m+1)/m))*z*s))/(n^(((1/m))*v))-(n^(1/m))*k','x(0)=0','y(0)=0','z(0)=0','r(0)=0')
but the ans is
Warning: Explicit solution could not be found.
> In dsolve at 120
u =
[ empty sym ]
i need clue to solve it,and tell me if iam in the right path.
regards
I am a newbie to matlab
I have 4 equations ode to a system,
dxdt=-c*z*s')
dydt=((-1.021*(y^2))/(b+a))-(2.081015257+(6.936717523*x))/(b+a)+((p*r)-(p*j)/(b+a))-(((p^2)-2*p*(s^2)*c*z^2))/2*p')
dzdt=(((p^2)*r)-((p^2)*j))/(((S*x)+((p^2)*r))-((p^2)*j)/(b+a))-(((z^2)*c*(p^2))/(2*s*x))+(((z^2)*c*(s^2))/(2*s*x))-((z^2)*c*((p-s)^2)/2*s*(a+b))-(15.3*y^2)*(p/s)*(a+b)-(h/s*(a+b))')
drdt=(-m*(r^(((m+1)/m))*z*s))/(n^(((1/m))*v))-(n^(1/m))*k')
yes, I have replaced the variables that exist with the symbol
several variables that are known are abcspjknm
until recently I saw some tutorials and answers from this forum using the syntax 'dsolve'
more or less like this
u=dsolve('Dx=-c*z*s','Dy=((-1.021*(y^2))/(b+a))-(2.081015257+(6.936717523*x))/(b+a)+((p*r)-(p*j)/(b+a))-(((p^2)-2*p*(s^2)*c*z^2))/2*p','Dz=(((p^2)*r)-((p^2)*j))/(((S*x)+((p^2)*r))-((p^2)*j)/(b+a))-(((z^2)*c*(p^2))/(2*s*x))+(((z^2)*c*(s^2))/(2*s*x))-((z^2)*c*((p-s)^2)/2*s*(a+b))-(15.3*y^2)*(p/s)*(a+b)-(h/s*(a+b))','Dq=(-m*(r^(((m+1)/m))*z*s))/(n^(((1/m))*v))-(n^(1/m))*k','x(0)=0','y(0)=0','z(0)=0','r(0)=0')
but the ans is
Warning: Explicit solution could not be found.
> In dsolve at 120
u =
[ empty sym ]
i need clue to solve it,and tell me if iam in the right path.
regards