interp edit page

spherical interpolation - including some smoothing

Syntax

sF = interp(v,y,'linear')     % linear interpolation (default)
sF = interp(v,y,'harmonic')   % approximation with spherical harmonics
yi = interp(v,y,vi,'linear')  % linear interpolation
yi = interp(v,y,vi,'spline')  % spline interpolation (default)
yi = interp(v,y,vi,'nearest') % nearest neigbour interpolation
yi = interp(v,y,vi,'inverseDistance') % inverse distance interpolation
yi = interp(v,y,vi,'harmonic') % approximation with spherical harmonics

Input

v data points vector3d
y data values
vi interpolation points vector3d

Output

sF S2Fun
yi interpolation values