source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/missing-data/all_rows_sampled.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 483 bytes
Line 
1function 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.
8last_col = U(:,size(U,2));
9y = sum(last_col)~=1;
Note: See TracBrowser for help on using the repository browser.