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 件のコメント

John D'Errico
John D'Errico 2014 年 2 月 9 日
I'm guessing you mean a variation of Euler's method?
ACHKHE
ACHKHE 2021 年 6 月 10 日
ther's a function in matlab called ode23t, search about it, its the same " trapezoidal method of solving ODEs "

サインインしてコメントする。

回答 (1 件)

Jan
Jan 2014 年 2 月 8 日

0 投票

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

2 件のコメント

Mahdi
Mahdi 2014 年 2 月 9 日
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 2014 年 2 月 9 日
And do you mean an existing code or should this solve an homework assignment?

サインインしてコメントする。

カテゴリ

質問済み:

2014 年 2 月 8 日

コメント済み:

2021 年 6 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by