can we use particleswarm for matrices?
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    bhanu kiran vandrangi
 el 2 de Ag. de 2021
  
    
    
    
    
    Respondida: Walter Roberson
      
      
 el 2 de Ag. de 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 comentarios
Respuesta aceptada
  Walter Roberson
      
      
 el 2 de Ag. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Direct Search en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

