Finding best parametric function estimation for ODE of first order
Mostra commenti meno recenti
Hello to every one.
Until now I've solved differential equations numerically under given formulae for their coefficients and given initial / boundary conditions. But recently I've been dealt with the inverse problem, namely: find the best fit to the solution of the ODE regarding some unknown paramateres. The hard part here is due to the fact that we need to determine not a single value but the values of a whole parametric function.
Consider the following initial value problem for ODE of first order:

Solving the equation by separation of the variables we obtain the exact solution 

Let's consider however this problem statement: given the Cauchy's problem

whose solution
is known over the grid
Find the estimated values of the function
fitting the solution
, i.e. establish that they're eventually located close enough to the curve
.
.I read a lot about the topic but I didn't find what I searched for. Could you give me some short explanations or guidelines on how to perform this idea in general and later using MATLAB toolboxes?
Kind regards,
Lyudmil Yovkov, PhD
Risposta accettata
Più risposte (2)
Alan Stevens
il 18 Lug 2021
1 voto
First plot the points, ui vs xi to see what sort of curve it might be. If it looks like it could be a polynomial (as in the case of u = x^2 + 1) then lookup help on polyfit.
1 Commento
Lyudmil Yovkov
il 18 Lug 2021
Modificato: Lyudmil Yovkov
il 18 Lug 2021
Lyudmil Yovkov
il 28 Lug 2021
Modificato: Lyudmil Yovkov
il 28 Lug 2021
0 voti
1 Commento
Lyudmil Yovkov
il 31 Lug 2021
Modificato: Lyudmil Yovkov
il 31 Lug 2021
Categorie
Scopri di più su Solver Outputs and Iterative Display in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!











