MATLAB source mfile code for Trapezoidal method of solving ODEs

2 Ansichten (letzte 30 Tage)
Mahdi
Mahdi am 8 Feb. 2014
Kommentiert: ACHKHE am 10 Jun. 2021
Hello, Does anyone have or know the m-file for trapezoidal method of solving ODEs (with simple linear iterations)? Thanks
  2 Kommentare
John D'Errico
John D'Errico am 9 Feb. 2014
I'm guessing you mean a variation of Euler's method?
ACHKHE
ACHKHE am 10 Jun. 2021
ther's a function in matlab called ode23t, search about it, its the same " trapezoidal method of solving ODEs "

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 8 Feb. 2014
Do you mean trapz? Then open the M-file:
edit trapz
  2 Kommentare
Mahdi
Mahdi am 9 Feb. 2014
Hi, Thanks. But, I don't mean trapz. That one is for numerical integration. I want the one for solving ODEs (initial value problems).
Jan
Jan am 9 Feb. 2014
And do you mean an existing code or should this solve an homework assignment?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by