steepestDescent edit page

calculates the minimum of a spherical harminc

Syntax

[v,pos] = steepestDescent(sF) % the position where the minimum is atained
[v,pos] = steepestDescent(sF,'numLocal',5) % the 5 largest local minima
% with all options
[v,pos] = steepestDescent(sF, 'startingnodes')

Output

v double
pos vector3d

Options

iterMax number of iterations
numLocal number of peaks to return
startingNodes vector3d
tolerance minimum distance between two peaks
resolution minimum step size
maxStepSize maximm step size