ODE45 initial conditions are y'(0) = 0, y'(inf) = 1

6 visualizaciones (últimos 30 días)
Tejas Adsul
Tejas Adsul el 1 de Sept. de 2018
Respondida: The Anh Vu el 28 de Nov. de 2021
I have a third order differential equation and I have followed the steps given here to obtain the function handle. However, my two initial conditions are y'(0) = 0 and y'(inf) = 1, and only one initial condition is of the form y(0) = const.
How do I input the first order initial conditions while using ode45?
  1 comentario
Torsten
Torsten el 3 de Sept. de 2018
The condition y'(inf)=1 makes it necessary to use bvp4c instead of ode45.
Best wishes
Torsten.

Iniciar sesión para comentar.

Respuestas (1)

The Anh Vu
The Anh Vu el 28 de Nov. de 2021
y’(t) +10*y=5*cos(10*t) y’(0)=5 Hepl me code matlab ode45. Thank you

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by