MATLAB source mfile code for Trapezoidal method of solving ODEs

Hello, Does anyone have or know the m-file for trapezoidal method of solving ODEs (with simple linear iterations)? Thanks

2 comentarios

I'm guessing you mean a variation of Euler's method?
ther's a function in matlab called ode23t, search about it, its the same " trapezoidal method of solving ODEs "

Iniciar sesión para comentar.

Respuestas (1)

Do you mean trapz? Then open the M-file:
edit trapz

2 comentarios

Hi, Thanks. But, I don't mean trapz. That one is for numerical integration. I want the one for solving ODEs (initial value problems).
And do you mean an existing code or should this solve an homework assignment?

Iniciar sesión para comentar.

Categorías

Preguntada:

el 8 de Feb. de 2014

Comentada:

el 10 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by