subspaceangle

Version:

Computes the angle between the columns of the input matrices.

Syntax

c = subspaceangle(a, b)
Legacy name: subspace

Matrix.

b

Matrix with the same number of rows as a.

c

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)

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices