Solving a first order differential equation

14 vues (au cours des 30 derniers jours)
Rahal Rodrigo
Rahal Rodrigo le 15 Avr 2021
Commenté : Rahal Rodrigo le 15 Avr 2021
How do you enter a condition in similar syntax to the one below in MATLAB. I am using dsolve with conditions and am having trouble entering a smilar condition into the software. Any advice would be greatly apreciated.

Réponse acceptée

Cris LaPierre
Cris LaPierre le 15 Avr 2021
See this example. I've copied/modified the relevant parts below.
syms y(t)
Dy = diff(y,t);
cond = Dy(2)==3;
ySol(t) = dsolve(eqn,cond)
  1 commentaire
Rahal Rodrigo
Rahal Rodrigo le 15 Avr 2021
Works perfectly. Thanks alot!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by