Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

subspaceangle (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

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.


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)


 Was this document helpful?  submit
  Helpful Not Helpful