Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

subspaceangle (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: linalgebra

Requires: MathScript RT Module

Syntax

c = subspaceangle(a, b)

Legacy Name: subspace

Description

Computes the angle between the columns of the input matrices.

Examples

Inputs

Name Description
a Specifies a matrix.
b Specifies a matrix with the same number of rows as a.

Outputs

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.

Examples

A = [1, 2, 3]'
B = [1, 1, -1]'
C = subspaceangle(A, B)


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit