Ode solver include specific time point

조회 수: 27 (최근 30일)
babita verma
babita verma 2018년 4월 28일
댓글: NIdhi Parmar 2022년 1월 3일
I am solving a system of 11 dimension using ode15s since the model is stiff. I want to solve it using solver's default time step but need to ensure a specific time point is included while solving. Eg. if I am solving in the time range of [0 900] how do I make sure the time point of 700 is definitely included by the solver since for further analysis of this model I need to know the solution at time point 700. I had earlier solved using a user-defined small time step such that 700 is an included time point for the solver. But with this approach the relevant variable matfile that i save becomes huge. So, I am looking for ways to use default step size that would help me reduce the file size.
Any help is appreciated, Thanks!
  댓글 수: 1
NIdhi Parmar
NIdhi Parmar 2022년 1월 3일
Will this also work while solving simulatenous odes??

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

채택된 답변

Star Strider
Star Strider 2018년 4월 28일
I would use the deval (link) function to evaluate your solved ODE at a specific value of the independent variable.
  댓글 수: 2
babita verma
babita verma 2018년 4월 28일
Thanks, that helps!
Star Strider
Star Strider 2018년 4월 28일
As always, my pleasure!

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

추가 답변 (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