powersmooth
Smoothing noisy time-series using ordinary "smooth.m" may cause artifacts, especially if one wants to estimate time-derivatives of the underlying noisy-free dynamics. The function "powersmooth.m" solves this problem, providing a smoothed time-series with faithful estimates of the first n time-derivatives of the noise-free dynamics. The function uses quadratic programming to simultaneously minimize (i) the residuals between the original, noisy time-series and the smoothed curve, and (ii) the (n+1)-th time-derivative of the smoothed curve. The user has to specify the noisy time-series (vec), the desired order n (order), and a regularization weight (weight).
Cite As
Benjamin Friedrich (2025). powersmooth (https://www.mathworks.com/matlabcentral/fileexchange/48799-powersmooth), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Least-Squares Smoother, Robust Least-Squares Smoother
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.