필터 지우기
필터 지우기

Assistant on MATLAB Lsqucurvefit

조회 수: 4 (최근 30일)
Sunday Aloke
Sunday Aloke 2022년 6월 8일
댓글: Walter Roberson 2022년 6월 8일
I have 5 systems of odes And real data on excel I want to model fitting to real data using MATLAB Lsqcurvefit for (a) all parameters (b) for infected parameters.
Please I need help on the codes
  댓글 수: 4
Sunday Aloke
Sunday Aloke 2022년 6월 8일
Yes it represent external input over time.
Walter Roberson
Walter Roberson 2022년 6월 8일
Unfortunately the mathematics of the ode*() solvers and bvp4c and bvp5c require that the equations have continuous second derivatives during any one call. In any case where there is external input, that cannot be the case unless you are willing to do cubic or spline interpolation of the inputs. That would correspond to saying that, for example, there is no hard "right turn" starting at 10 seconds, that instead you started turning right at time 0, just possibly stronger towards 10 seconds.
Whether this is acceptable depends on whether the inputs are considered to be "prescriptive" (this much control is added at this time), or if the inputs are considered to be descriptive (the system was doing its thing and when we measured it every two seconds this is what it looked like.)
In prescriptive systems where cubic or spline interpolation is not acceptable, the ode*() calls need to be terminated at each input and then restarted with the effect of the input added. A bit of a nuisance.

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by