These functions calculates the solution for the generalized and/or mixed total least squares problem.
The total least squares problem, also known as errors in variables, solves the over-determined set of linear equations (A0+dA)X = (B0+dB), where covariance matrix of the unknown disturbances dA and dB is considered to be diagonal and denoted by E([dA dB]^T[dA dB]) = sigma_d.*I.
The mixed total least squares problem solves the over-determined set of linear equations [A1 A2]X = B, where A1 are the error-free variables, and A2 = A0 + dA2 and B = B0 + dB are the variables with disturbances.
The generalized total least squares problem solves the over-determined set of linear equations (A0 + dA)X = (B0 + dB), where the covariance matrix of the disturbances dA and dB is positive definite and given by sigma_d.*W = E([dA dB]^T[dA dB]).
Ivo Houtzager (2021). Total Least Squares with mixed and/or weighted disturbances (https://github.com/iwoodsawyer/gtls/releases/tag/v126.96.36.199), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: QR/RQ/QL/LQ factorizations
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!