Effacer les filtres
Effacer les filtres

Coupled Second Order Differential Equations Solution

3 vues (au cours des 30 derniers jours)
Haseeb Hashim
Haseeb Hashim le 19 Juil 2022
Commenté : James Tursa le 20 Juil 2022
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 commentaire
James Tursa
James Tursa le 20 Juil 2022
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.

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 20 Juil 2022
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.)

Plus de réponses (0)

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by