Which problems are suitable for ode 45?

I dont understand that ode 45's purpose ?
why cant i find same answer with quad command ?

1 comentario

James Tursa
James Tursa el 8 de Feb. de 2022
Your question is too generic. Maybe you could start by describing the problem you are trying to solve, and the issues you are currently having.

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 8 de Feb. de 2022
Editada: Walter Roberson el 9 de Feb. de 2022

1 voto

If you had a function of one variable, that involves only the direct derivative (without the function itself) and it had no mass variable, and you arranged to get the boundary conditions right, then quad() could potentially substitute for ode45(). For example dxdt = @(dt) dt .* sin(dt) could potentially be doable, but not dt.*sin(t) . Oh, and you couldn't do any event conditions either.
In any case involving mixed levels of derivatives, or multiple variables, or mass variables, or event conditions then quad() is not sufficient to be able to calculate the results.

Más respuestas (0)

Productos

Versión

R2021b

Preguntada:

el 8 de Feb. de 2022

Editada:

el 9 de Feb. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by