can we use particleswarm for matrices?
    4 views (last 30 days)
  
       Show older comments
    
    bhanu kiran vandrangi
 on 2 Aug 2021
  
    
    
    
    
    Answered: Walter Roberson
      
      
 on 2 Aug 2021
            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
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 2 Aug 2021
        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 Comments
More Answers (0)
See Also
Categories
				Find more on Direct Search in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
