Problem in ezplot with simple equation

 Respuesta aceptada

Star Strider
Star Strider el 23 de Abr. de 2018
Not all differential equations have analytical solutions. Fortunately, ode45 will integrate this without problems:
DE = @(t,y) (t+y)^(1/2);
[T,Y]= ode45(DE, [0.4 10], 0.41);
figure(1)
plot(T,Y)
grid

2 comentarios

Camilo Sánchez
Camilo Sánchez el 23 de Abr. de 2018
Thanks
Star Strider
Star Strider el 23 de Abr. de 2018
As always, my pleasure.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Numerical Integration and Differential Equations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de Abr. de 2018

Comentada:

el 23 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by