Can anyone help me write a genetic algorithm code for this in Matlab?

A,B,C,D - parameters have to be optimised in
QLC=(A*exp((-(C*Ec*Q*Cr)/(R*T)))+(B*exp((-D*Ed*Q*Dr)/(R*T)))
and the fitness function QLM-QLC has to be minimized. QLM and QLC are vectors.

5 个评论

Is there a reason for not using the curve fitting toolbox for this?
I'm not aware of a curve fitting toolbox.
https://www.mathworks.com/products/curvefitting.html
This sort of application is exactly what the curve fitting toolbox is designed for.

请先登录,再进行评论。

回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by