how to write the pso code using matlab
이전 댓글 표시
using the below attached fitness function can any one help me on how to write the code in matlab?
답변 (1개)
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
2016년 11월 3일
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
2017년 4월 5일
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 Exchange에서 Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!