How to optimize when the decision variables are complex numbers

4 Ansichten (letzte 30 Tage)
Saifullah Khalid
Saifullah Khalid am 1 Okt. 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 Kommentare
Bjorn Gustavsson
Bjorn Gustavsson am 2 Okt. 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 am 4 Okt. 2019
@Bjorn Gustavsson once again thanl very much for your support.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by