subspace.m

Angle between subspaces.

您现在正在关注此提交

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.

引用格式

Andrew Knyazev (2026). subspace.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/54-subspace-m), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

添加标签

Add the first tag.

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 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.