sgolayqr(degree,hw,w)
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
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Signal Processing > Signal Processing Toolbox > Signal Generation, Analysis, and Preprocessing > Smoothing and Denoising >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
