Genetic Algorithm and Direct Search Toolbox Previous page   Next Page

Example: Finding the Minimum of a Function

This section presents an example of using a pattern search to find the minimum of a function. This section covers the following topics:

Objective Function

The example uses the objective function, ps_example, which is included in the Genetic Algorithms and Direct Search Toolbox. You can view the code for the function by entering

The following figure shows a plot of the function.


Previous page  Using the Pattern Search Tool Finding the Minimum of the Function Next page

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS