can we use particleswarm for matrices?

조회 수: 1(최근 30일)
bhanu kiran vandrangi
bhanu kiran vandrangi 2021년 8월 2일
답변: Walter Roberson 2021년 8월 2일
i have a MIMO system (3*2 system, 2 inputs and 3 outputs), i am trying to tune the parameters of PI controllers, which i am designing for that MIMO system so, my objective function is not a polynomial function but it is a matrix (which is a function of those two tuning parameters)
what is the way to apply particleswarm to this

채택된 답변

Walter Roberson
Walter Roberson 2021년 8월 2일
No. Each array element output would be an "objective", but particleswarm() is strictly single objective.
You would have to return some "measure of goodness" instead.
The optimizer would tell you what parameter pair is optimal, which you could then use to calculate the matrix.

추가 답변(0개)

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by