Optimization with genetic algorithm
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have this objective function :
E = @(x,y) norm((d(x)-r(x).*y).^2);
I want to optimize vector 'y' using ga ,
if 'd' and 'r' is complex function and 'y' is complex coefficient
I tried with many methods in matlab for find objectiv function appropriate with genetic algorithm,
can i use the method in this link https://www.mathworks.com/help/optim/ug/fit-model-to-complex-data.html
such as the objective function 'E'.
6 commentaires
Walter Roberson
le 28 Avr 2018
The objective function does need to return a real-valued scalar.
I am trying to understand what the various lengths involved are.
If x is a given scalar (at the time of any given optimization) then that implies that d(x) and r(x) can be computed ahead of time. Let
D = d(x);
R = r(x);
then
E = @(y) norm((D-R.*y).^2);
and we know that D and R and y are complex.
But I am not clear as to whether D and R are (complex) scalars, or if they are vectors, and if y will be a vector or a scalar ?
At the moment I am suspecting that the problem can be solved in other ways.
Réponses (0)
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!