In the exhaustive search method, the optimum of a Uni-modal function is bracketed by calculating the function values at a number of equally spaced points.The algorithm generally starts its search from the lower bound towards the upper bound. Three consecutive function values are compared.The outcome of comparison will decide whether the search will terminate or continue by replacing one of the three points by a new point.
mec (2020). ExhaustiveSearch(a,b,n,fun) (https://www.mathworks.com/matlabcentral/fileexchange/53231-exhaustivesearch-a-b-n-fun), MATLAB Central File Exchange. Retrieved .