Smooths or differentiates spectral rows by fitting local polynomials in a moving odd-sized window. The GUI provides live sample previews, window and polynomial controls, derivative orders up to three, and extrapolation, reflection, replication, or zero-extension edge modes. It processes complete matrices, preserves the supplied axis, exports results and metadata, and requires MATLAB R2022a or later with no additional toolbox.
Savitzky, A. and Golay, M. J. E. (1964). Smoothing and differentiation of data by simplified least squares procedures. Analytical Chemistry, 36(8), 1627-1639.