|Download Help (Windows Only)|
Owning Class: linalgebra
Requires: MathScript RT Module
c = subspaceangle(a, b)
Computes the angle between the columns of the input matrices.
|a||Specifies a matrix.|
|b||Specifies a matrix with the same number of rows as a.|
|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.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = [1, 2, 3]'
B = [1, 1, -1]'
C = subspaceangle(A, B)