title: Modified Adaptive Acceleration Particle Swarm Optimization in matlam
body: <p><a href="https://i.stack.imgur.com/L2EOi.png" rel="nofollow noreferrer">enter image description here</a>Modifies adaptive acceleration particle swarm optimization (MAACPSO) technique is based on AACPSO technique, but it takes into consideration that one of the best settings of acceleration factors is:
  c1+c2=4
  So a replacement of factors will take the form of
  c1=4-c2</p>
  <p>how can I write that equation in matlab  code</p>