MATLAB source mfile code for Trapezoidal method of solving ODEs

조회 수: 2 (최근 30일)
Mahdi
Mahdi 2014년 2월 8일
댓글: ACHKHE 2021년 6월 10일
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일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by