Ode45: setting initial conditions from plotted figure

조회 수: 3 (최근 30일)
Mohammad Farhat
Mohammad Farhat 2020년 4월 27일
댓글: Star Strider 2020년 4월 27일
I'm not familiar at all with interactive plotting in matlab.
I'm integrating via ode45, and I have to loop the integration for different initial conditions.
Is there a way to integrate, plot solution, then from the figure (say it's 2D), choose a point to be used as initial conditions for the next integration iteration?
  댓글 수: 1
Star Strider
Star Strider 2020년 4월 27일
I doubt that this would be possible graphically. It would be straightforward to use the last value (or any other chosen value, depending on the criteria used to definie it) of tthe dependent variable as the initial conditions for the next integration, for example after changing a parameter of the ODE function to use in the next integration.

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by