using the below attached fitness function can any one help me on how to write the code in matlab?

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 11 月 3 日

0 投票

By inspection we can see that the minima would be for either or both OPF variables to be negative infinity. There is no point running the optimization.

4 件のコメント

Adamu Halilu Jabire
Adamu Halilu Jabire 2016 年 11 月 3 日
Mr walter am new to programming most especially matlab please can you help me with some materials or references that can guide me to deal with my constraints using pso because i have many objective functions or i can say fitness functions but i dnt knw how to initialize them in matlab
Walter Roberson
Walter Roberson 2016 年 11 月 3 日
編集済み: Walter Roberson 2016 年 11 月 3 日
https://www.mathworks.com/help/gads/particle-swarm.html
One of the fundamental steps is choosing which variables to be optimized over. You did not do that in what you posted.
Adamu Halilu Jabire
Adamu Halilu Jabire 2017 年 4 月 5 日
I want to optimize the width of my anteena patch
Walter Roberson
Walter Roberson 2017 年 4 月 5 日
We cannot tell from what you posted which variable "width of antenna patch" corresponds to. Is it f? Is it fk? Is it thetas? Is it thetak ? Is it OF1 ? Is it OF2? Is the width of the antenna patch what you are calculating with the formula?
Assume we have are not familiar with the notation used for antenna calculation. Which of the values in your calculation are constants? What is p? If we have a list of candidate values that might be the best for your purpose, then which variable names do those candidate value correspond to?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeOptimization Toolbox についてさらに検索

タグ

質問済み:

2016 年 11 月 3 日

コメント済み:

2017 年 4 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by