TEXT
TEXT
TEXT
TEXT
TEXT
1/1
Grid-Search Algorithm (Matlab codes)
We use this method to solve two examples in Chapter 2:
Example 2.32
Grid search for 2 dimensions
grid is a function to define f=x^2+y^2.grids is a grid-search function to prove the bound of grid.
niter1 is a code to run grid-search program.
Example 2.33
Grid search for 3 dimensions
grid3 is a function to define f=x^2+y^2+z^2.
grids3 is a grid-search function to prove the bound of grid3.
niter2 is a code to run grid-search program.