Line | |
---|
1 | function y = all_rows_sampled(U) |
---|
2 | % It's possible that the incidence matrix (and/or bad luck) result |
---|
3 | % in our never selecting subsets of the columns of M which have |
---|
4 | % entries in a particular row and sufficient rank to provide useful |
---|
5 | % information. If that happens, a column with 1 (or -1?) in that row and |
---|
6 | % zero everywhere else will appear in every null space, and, I believe, |
---|
7 | % as a component of the svd with a singular value of 0. |
---|
8 | last_col = U(:,size(U,2)); |
---|
9 | y = sum(last_col)~=1; |
---|
Note: See
TracBrowser
for help on using the repository browser.