calculates the minimum of a spherical harminc
Syntax
[f,pos] = steepestDescent(sF) % the position where the minimum is atained
[f,pos] = steepestDescent(sF,'numLocal',5) % the 5 largest local minima
% with all options
[f,pos] = steepestDescent(sF, 'startingnodes')
Output
f | double |
pos | vector3d |
Options
STARTINGNODES | starting nodes of type vector3d |