Coupled Second Order Differential Equations Solution

3 次查看(过去 30 天)
I need help in Coupled Second order differential equation solution. I am using the method of converting these equations into system of coupled first order equations
  1 个评论
James Tursa
James Tursa 2022-7-20
Please post the original problem and what you have done so far. Then ask specific questions about the problems you are having with your code.

请先登录,再进行评论。

采纳的回答

Star Strider
Star Strider 2022-7-20
I am not certain what you are asking. If you want to convert one or more differential equations to a system of first-order differential equations, and if you have the Symbolic Math Toolbox installed, set the differential equations up symbolically and then use odeToVectorField and then matlabFunction to create the anonymous function to use with one of the numeric differential equation integrators. Use the ‘Vars’ name-value pair to be certain the time variable is included in the argument list, and as the first argument. (I usually do this because it avoids the algebra errors that I frequently make with more complicated equations.)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by