max edit page

global, local and pointwise maxima of spherical functions

Syntax

[v,pos] = max(sF) % the position where the maximum is atained
[v,pos] = max(sF,'numLocal',5) % the 5 largest local maxima
sF = max(sF, c) % maximum of a spherical functions and a constant
sF = max(sF1, sF2) % maximum of two spherical functions
sF = max(sF1, sF2, 'bandwidth', bw) % specify the new bandwidth
% compute the maximum of a multivariate function along dim
sF = max(sFmulti,[],dim)

Input

sF, sF1, sF2 S2FunTri
sFmulti a multivariate S2FunTri
c double

Output

v double
pos vector3d

Options

numLocal number of peaks to return