Back to Search Start Over

QR decomposition for the least squares method: theory and practice.

Authors :
Voskov, Alexey L.
Source :
International Journal of Mathematical Education in Science & Technology. May2024, Vol. 55 Issue 6, p1506-1523. 18p.
Publication Year :
2024

Abstract

QR decomposition is widely used for solving the least squares problem. However, existing materials about it may be too abstract for non-mathematicians, especially STEM students, and/or require serious background in linear algebra. The paper describes theoretical background and examples of GNU Octave compatible MATLAB scripts that give relatively simple but complete explanations about how to use QR decomposition for the least squares problem solution. Only basic knowledge of linear algebra and calculus are required. Both Givens rotations and Householder reflections usage for the linear least squares problem were considered. It was shown that the algorithm based on Givens rotations is even easier to program than explicit formation of the normal equations with subsequent usage of Gaussian elimination. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
0020739X
Volume :
55
Issue :
6
Database :
Academic Search Index
Journal :
International Journal of Mathematical Education in Science & Technology
Publication Type :
Academic Journal
Accession number :
176985821
Full Text :
https://doi.org/10.1080/0020739X.2022.2139204