subspace.m

Angle between subspaces.

Vous suivez désormais cette soumission

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.

Citation pour cette source

Andrew Knyazev (2026). subspace.m (https://fr.mathworks.com/matlabcentral/fileexchange/54-subspace-m), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et MATLAB Answers

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.1

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

1.0.0.0

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