ORTHOGONALITY AND LEAST SQUARES
 

Orthogonal Vectors
Norm
Unit Vector
Orthonormal Vectors
Orthogonal Complement
Orthogonal Projection
Cauchy-Schwarz Inequality
Angle Between Two Vectors
Gram-Schmidt Process
QR Factorialization
Transpose
Symmetric and Skew-symmetric Matrices
Orthogonal Matrices
Least Squares Solutions
Matrix of an Orthogonal Projection
Angle Between Two Vectors
How to Examples Exercise
How to:
A consequence of the Cauchy-Schwarz inequality is that we are able to calculate the angle, alpha, between two vectors:
     alpha = arccos(dot(x, y)/(norm(x)*norm(y)))
    

Examples:



Exercise: