Optimization Using FMINCON and ODE45
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
rash@KL
am 22 Jul. 2014
Kommentiert: rash@KL
am 28 Jul. 2014
Hi, I am trying to use FMINCON for obtaining the optimal parameters of a suspension system which is written into MATLAB m.file as equations of motion. I have a main file which specifies the initial guess for the parameters, lower bounds and upper bounds. My objective m.file uses ODE45 to solve a set of equations and derives the parameter (relative displacement) which is a vector. I have to constrain the relative displacement to a value below 0.044m to obrain the parameters x(1), x(2)...x(5) which are the co-efficients used in the equations of motion. I have the main file, objective file and the equations of motion ready. My question is how to write the non-linear constraint for the above problem in order to get the parameters x(1)...x(5) with the relative displacement constrained.
Any help in this regards will be of great help
Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 23 Jul. 2014
You might find this example on optimizing an ODE to be helpful. The example uses patternsearch and ga, but works fine for fmincon as well.
Alan Weiss
MATLAB mathematical toolbox documentation
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!