Smoothing Data Using an Adaptive Method |
supsmooth(vx, vy) Returns a vector created by the piecewise use of a symmetric nearest neighbor linear least-squares fitting on each element in vy, in which the number of nearest neighbors is adaptively chosen.
vx is a vector of real numbers with elements in ascending order.
vy is a vector of real numbers the same length as vx.