system of differential equations
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello All,
I am wondering how to solve system of differential equations using simulink?
plz do help me how to make a simulink model.
regards,
0 comentarios
Respuestas (7)
Titus Edelhofer
el 6 de Jun. de 2011
Hi,
you could open the vdp model as a typical second order differential equation. The way to go stays the same when you have a system: put as many integrators per row of your system as you have orders of differentiation, and feed them with the variables that make up the differential equation.
Titus
0 comentarios
Arnaud Miege
el 6 de Jun. de 2011
Write down the equations on paper and then implement them using the various blocks available in Simulink. A tip: it's generally better to start with the highest order derivative and integrate rather than the other way round and differentiates. Have a look at Modeling Best Practises in the Simulink documentation and also at the interactive tutorials on the MathWorks web site.
HTH,
Arnaud
0 comentarios
Seba
el 14 de Jul. de 2011
2 comentarios
Arnaud Miege
el 14 de Jul. de 2011
That system does not have a solution. If you differentiate the second equation once more, you have:
x'' = -x' - z''
z'' = -1 - x'' - x'
If you then substitute the expression for z'' in the second equation into the first, you get:
x'' = -x' + 1 + x'' + x'
in other words, 1 = 0.
I suggest you check these equations, they're probably wrong.
ikhlas
el 3 de Nov. de 2023
how can I solve this system using Euler's method in matlab
u'=p
v'=q
p'=0
q'=0
such that u(0)=0 , v(0)=0, p(0)=0, q(0)=1?
Seba
el 15 de Jul. de 2011
1 comentario
Arnaud Miege
el 15 de Jul. de 2011
Yes, as long there is a solution, you can represent any system of ODEs in Simulink. Start working out the higher order derivatives and use integrator blocks to work your way up. Read the documentation, e.g.:
http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/ug/bra6ae8.html
Seba
el 19 de Jul. de 2011
3 comentarios
Arnaud Miege
el 21 de Jul. de 2011
Like I said before (read my previous answers/comments), you can represent any system of ODEs in Simulink. Start working out the higher order derivatives and use integrator blocks to work your way up. Read the documentation, e.g.:
http://www.mathworks.com/help/releases/R2011a/toolbox/simulink/ug/bra6ae8.html.
Also work through the tutorials I suggested and look at Modelling Best Practises in the documentation.
Seba
el 25 de Jul. de 2011
7 comentarios
Walter Roberson
el 26 de Jul. de 2011
http://www.mathworks.com/help/toolbox/simulink/slref/mathfunction.html
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!