sgolayqr(degree,hw,​w)

This code correctly computes Savitzky-Golay filters. It is a replacement for the Matlab sgolay code.
43 download
Aggiornato 24 mar 2016

Visualizza la licenza

This code computes Savitzky-Golay filters using a method similar to that used in the Matlab sgolay code. However, this implementation is far less prone to problems due to conditioning. Furthermore, the built-in sgolay code gives incorrect answers for the weighted filters due to errors in implementation (easily verified by using a uniform weight that is not 1 which should not change the answer but does in Matlab's built-in code). This code correctly computes the filters when using non-uniform weights. The derivation and analysis of the algorithm used is available at:
"Numerically Sane Construction of Polynomial Least Squares Filters via QR Factorization", by C.F. Borges, 15 MARCH 2016, NPS Institutional Archive. Full paper available at https://calhoun.nps.edu/handle/10945/48144

Cita come

Carlos Borges (2025). sgolayqr(degree,hw,w) (https://it.mathworks.com/matlabcentral/fileexchange/56149-sgolayqr-degree-hw-w), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2015b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0