How to optimize when the decision variables are complex numbers

4 vues (au cours des 30 derniers jours)
Saifullah Khalid
Saifullah Khalid le 1 Oct 2019
Hi, I want to optimize the objective function where and are complex numbers I intend to use genetic algorithm but I wonder if the decison variables (reprsented as complex numbers) can actualy be optimized in matlab.
Best Regards.
  6 commentaires
Bjorn Gustavsson
Bjorn Gustavsson le 2 Oct 2019
Sure, a complex decision variable is nothing more than the sum of 2 real-valued decision-variables - where you multiply one of them with 1i. From there it is just to look at fminsearch or possibly fminsearchbnd or minimize on the file exchange.
Saifullah Khalid
Saifullah Khalid le 4 Oct 2019
@Bjorn Gustavsson once again thanl very much for your support.

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