필터 지우기
필터 지우기

ODE solver - L'Hospital Rule

조회 수: 1 (최근 30일)
Vignesh
Vignesh 2019년 2월 18일
댓글: Torsten 2019년 2월 18일
Hello,
I'm using MATLAB ODE suite to solve a couple of ODEs. I watched the webinar (https://www.mathworks.com/videos/series/solving-odes-in-matlab-117658.html) and it was really helpful!
I have some instances where the integrand becomes 0/0 (e.g. dy/dt = A*sin(t) / B*sin(y) where y=0 at t=0 and y=2pi at t=2pi).
Does any of the MATLAB ODE solver implement the L'Hospital rule for such cases? If not, what would be the best way to implement this (with ODE45 or ODE15S for example)?
  댓글 수: 3
Vignesh
Vignesh 2019년 2월 18일
Yeah, I wanted to check if any solver already has this condition implemented [i.e. if @F(t,y) = f(t) / f(y) = 0/0, then use f'(t) / f'(y)]
Torsten
Torsten 2019년 2월 18일
No numerical solver will have this feature. It will simply give you a division-by-zero error message.

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

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