how-do-i-estimate-or-optimize-the-parameters-of-my-ode-45 system of equations?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have three constitutive equations containing variables which need to be optimised..
How to give the equality constraints in optimisation solver ... (LSQNONLIN, FMINCON} for the following system of equations...
since I am having only three equations with initial conditions..
Finally I want to optimise the variables with experimental data with minimum least squares..
I have attached the function file and executable file using ODE45, equations and experimental data...
Please help me to sort out this problem... Help will be appreciated...
2 Kommentare
Alan Weiss
am 7 Dez. 2018
Is this a school assignment?
Alan Weiss
MATLAB mathematical toolbox documentation
Antworten (1)
Alan Weiss
am 10 Dez. 2018
Sorry, I don't understand what you said. What do you mean you "don't know how to give constraints in the optimisation toolbox for these equations for optimising the variables using different solver (interior point method, levenberg-Marquidt algorithm) and want to compare the least squares errors of the different method?"
- Do you mean you want to pass options to lsqcurvefit to use different algorithms?
- Do you mean that you have linear or nonlinear constraints that don't show in your problem setup so far?
For the first case, just select the 'Algorithm' option using optimoptions and pass the option to the solver. See the example on the function reference page. For the second case, you will need to use a different solver, fmincon, as explained on the optimization decision table.
Alan Weiss
MATLAB mathematical toolbox documentation
2 Kommentare
Alan Weiss
am 10 Dez. 2018
I have no idea what you mean "It asks for the constraints for getting solved in optimisation toolbox..." Sorry. If you are getting an error message, please show what you have input and the complete error message. If you mean something else, feel free to ask again.
Alan Weiss
MATLAB mathematical toolbox documentation
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!