How can I optimize Data with Genetic Algorithm?

I have no function
I have data in 4 vectors V(1), V(2), V(3), V(4), each (1 x 200)
I would like to use one variable x(n) to multiply with each cell in the data vector, so (x(1), x(2), x(3), x(4), a total of 4 variables.
this result needs to be add up.
Is there any way with GA to find the minimum?
Many regards, Henk Jan Keizer

Réponses (1)

Sean de Wolski
Sean de Wolski le 5 Sep 2012

0 votes

It sounds more like a linear programming problem for which you could use linprog

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by