Intersection of linear subspaces
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
Zitieren als
Ondrej (2025). Intersection of linear subspaces (https://de.mathworks.com/matlabcentral/fileexchange/32060-intersection-of-linear-subspaces), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.2.0.0 | small change in description |
||
| 1.1.0.0 | small fix |
||
| 1.0.0.0 |
