| << sqrtm | Linear algebra | svd >> | 
| T = subspace(A, B) | 
vector or matrix (real or single)
vector or matrix (real or single)
scalar: angle.
T = subspace(A, B) finds the angle between two subspaces specified by the columns of A and B.
M = [1   1   1   1   1   1   1   1;
1  -1   1  -1   1  -1   1  -1;
1   1  -1  -1   1   1  -1  -1;
1  -1  -1   1   1  -1  -1   1;
1   1   1   1  -1  -1  -1  -1;
1  -1   1  -1  -1   1  -1   1;
1   1  -1  -1  -1  -1   1   1;
1  -1  -1   1  -1   1   1  -1];
A = M(:, 2:4);
B = M(:, 5:8);
R = subspace(A, B)
orth.
| Version | Description | 
|---|---|
| 1.0.0 | initial version | 
Allan CORNET