Parameter Estimation for a complex phyiscal system described by a set of differential equations
Show older comments
Hello.
I have a matLab program performing a time dependent numerical simulation for a complex phyiscal system, described by a set of differential equations.
let say there is 4 input parameters to be determined, and the output is voltage vesus time.
I want to do parameter estimation(determining their value automatically) for that 4 parameters,
by fitting the simulation result to the experiment result.
I imagine bayesian optimization could do the job, but I have no idea how to implement it to my matLab program.
Is there any product, module or application of matLab can perform this? Or any hints for the implmentation.
Any help would be appreciated. Thank you
4 Comments
Star Strider
on 4 Feb 2022
Star Strider
on 7 Feb 2022
The bayesopt function wants a single vector of parameters, so ‘fun’ has to present only that vector. I rarely use bayesopt, however the code likely needs to be something like this (given what I understand of it which is not much at this point) —
% Bayesian Optimization
obj = @(y)fun(x,y,x0,y0);
results = bayesopt(obj,[a,b])
since it would appear that the optimisation is with respect to ‘y’. I am certain that you understand where I am going with this, so choose the appropriate parameter to optimise in order to get the result you want.
.
Sam Wong
on 8 Feb 2022
Answers (0)
Categories
Find more on Manual Performance Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!