Approximate a numerical 1d function by a Chebyshev series, apply weights to the Chebyshev transform and return the filtered function and remainder. Specially useful for identifying/removing polynomial trends from data.
Self-test code is provided.
Paulo Fonte (2020). ChebSmooth1 (https://www.mathworks.com/matlabcentral/fileexchange/74020-chebsmooth1), MATLAB Central File Exchange. Retrieved .
Corrected matlab release.