csaps [analysis]
— Function File: [yi, p] = csaps(x, y, p, xi, w=[])
— Function File: [pp, p] = csaps(x, y, p=-1, [], w=[])

Cubic spline approximation (smoothing)
approximate [x,y] weighted w at xi

p<0
automatic smoothing
p=0
maximum smoothing: straight line
p=1
no smoothing: interpolation

See also: csapi, ppval, gcvspl