Code covered by the BSD License  

Highlights from
Intersection of linear subspaces

Be the first to rate this file! 14 Downloads (last 30 days) File Size: 1.66 KB File ID: #32060

Intersection of linear subspaces

by

 

04 Jul 2011 (Updated )

Function for finding the basis of the intersection of N subspaces

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
06 Jul 2011

small fix

06 Jul 2011

small change in description

Contact us