File Exchange

image thumbnail

subspace.m

version 1.1 (2.66 KB) by

Angle between subspaces.

4 Downloads

Updated

View License

SUBSPACE(A,B) finds the largest angle between two subspaces specified by the columns of A and B. If A and B are vectors of unit length, this is the same as COS(ABS(A'*B)) in exact arithmetic. This is a replacement for MATLAB's SUBSPACE.m Rev. 5.5-5.8 that fails to provide correct answers for angles smaller than e-8 and for Rev. 5.9-5.10.4.3 that fails to provide correct answers for angles close to pi/2.

Comments and Ratings (2)

Elmi bin

Ma Chaojie

Good

Updates

1.1

added a conversion to a toolbox

1.1

License update to free software (BSD). Comments update.

The comments are updated to reflect the problems of the most recent MATLAB's SUBSPACE.m code.

The comments are updated to reflect the problems of the most recent MATLAB's SUBSPACE.m code.

The comments are updated to reflect the problems of the most recent MATLAB's SUBSPACE.m code.

The comments are updated to reflect the problems of the most recent MATLAB's SUBSPACE.m code.

MATLAB Release
MATLAB 7.0.1 (R14SP1)
Acknowledgements

Inspired by: subspacea.m

Inspired: subspacea.m

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video