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 Comments

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.

Sign in to comment.

Answers (0)

Asked:

on 27 Mar 2018

Commented:

on 27 Mar 2018

Community Treasure Hunt

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

Start Hunting!