Optimization Rastrigin Function by Differential Evolution algorithm

A simple application of Differential Evolution algorithm in the optimization of Rastrigin funtion.

You are now following this Submission

The zip include four files
DE.m main DE funtion with detailed comment.
PlotR.m is used to visulize the Rastrigin function.
rand1.m is the mutation method used by DE and one can change it to other mutation method according to different porblem. But rand is good enough to most of the problems.
Rastrigin.m is the Rastrigin function itself.

Cite As

mirui wang (2026). Optimization Rastrigin Function by Differential Evolution algorithm (https://se.mathworks.com/matlabcentral/fileexchange/46818-optimization-rastrigin-function-by-differential-evolution-algorithm), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0