Dhruvil P.

asked • 06/28/21

Matlab simulation

Question : Find the maximum of the function f = −2x5 +4.2x4 +2x3 - x

2 +20x − 5 in the range −8 ≤ x ≤

10 using the Particle Swarm Optimization method. Use 4 particles with the initial

positions x1 = −2, x2 = 0, x3 = 1, and x4 = 3. Solve the numerical using MATLAB coding

for 2 iterations.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.