This function returns the basis of the intersection of N subspaces defined by their bases, and the dimension of this intersection. The input basis vectors must be row vectors!
Example:
A = [1,1,-1,1; %<-basis vector
1,2,-1,2; %<-basic vector
2,1,-1,2];
B = [1,1,1,-1;
1,-1,1,1;
3,3,1,-1];
C = [1,0,1,1;
1,1,1,1]
------
[int,dim] = findIntersect(A,B,C)
int = [1 -1 1 1]
dim = 1
引用格式
Ondrej (2024). Intersection of linear subspaces (https://www.mathworks.com/matlabcentral/fileexchange/32060-intersection-of-linear-subspaces), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Mathematics > Linear Algebra >
在 Help Center 和 MATLAB Answers 中查找有关 Linear Algebra 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!