| Genetic Algorithm and Direct Search Toolbox | ![]() |
Example: Rastrigin's Function
This section presents an example that shows how to find the minimum of Rastrigin's function, a function that is often used to test the genetic algorithm. This section covers the following topics:
| Calling the Function ga at the Command Line | Rastrigin's Function | ![]() |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |