Version 1.1 (2,66 KB) von Andrew Knyazev
Angle between subspaces.
Aktualisiert 15 Mai 2015

Lizenz anzeigen

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- that fails to provide correct answers for angles close to pi/2.

Zitieren als

Andrew Knyazev (2024). subspace.m (, MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14SP1
Kompatibel mit allen Versionen
Windows macOS Linux
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise

License update to free software (BSD). Comments update.
added a conversion to a toolbox

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