Owning Class: linalgebra
Requires: MathScript RT Module
c = subspaceangle(a, b)
Legacy Name: subspace
Computes the angle between the columns of the input matrices.
| Name | Description |
|---|---|
| a | Specifies a matrix. |
| b | Specifies a matrix with the same number of rows as a. |
| Name | Description |
|---|---|
| c | Returns the angle between the columns of a and b. A small value of c suggests that a and b are almost linearly dependent. c is a real scalar. |
A = [1, 2, 3]'
B = [1, 1, -1]'
C = subspaceangle(A, B)