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 commentaires

Where is QLM?
Is there a reason for not using the curve fitting toolbox for this?
QLM is just a vector of numbers.
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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by