MATLAB source mfile code for Trapezoidal method of solving ODEs

9 views (last 30 days)
Hello, Does anyone have or know the m-file for trapezoidal method of solving ODEs (with simple linear iterations)? Thanks
  2 Comments
ACHKHE
ACHKHE on 10 Jun 2021
ther's a function in matlab called ode23t, search about it, its the same " trapezoidal method of solving ODEs "

Sign in to comment.

Answers (1)

Jan
Jan on 8 Feb 2014
Do you mean trapz? Then open the M-file:
edit trapz
  2 Comments
Mahdi
Mahdi on 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 on 9 Feb 2014
And do you mean an existing code or should this solve an homework assignment?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!