필터 지우기
필터 지우기

ODE solver in Matlab advancing in just one timestep not multiple steps

조회 수: 1 (최근 30일)
K.E.
K.E. 2016년 11월 7일
댓글: Walter Roberson 2016년 11월 7일
[t,y] = odeXX(odefun,tspan,y0)
Say I have a solver odeXX, and the `tspan = [0 0.005]`. It seems that for any ode solver in MATLAB, they integrate by breaking `tspan` into multiple steps (some adaptive like ode45 and some non-adaptive). But I am looking for the most primitive one--just integrate from `0` to `0.005` in one step. Which ode solvers allow me to do this and how to specify this?
  댓글 수: 2
Torsten
Torsten 2016년 11월 7일
None - all are adaptive.
But it should be no problem to program such a primitive solver on your own.
Best wishes
Torsten.
Walter Roberson
Walter Roberson 2016년 11월 7일
How many variables are involved? Is your odefun dependent on only t, only y, or both t and y? What is the length of your y0?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by