source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/setdiff_sorted.m @ 37

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

Added original make3d

File size: 298 bytes
Line 
1function c = setdiff_sorted(a,b)
2%SETDIFF_SORTED   Set difference between sorted sets.
3% SETDIFF_SORTED(A,B) when A and B are vectors returns the values
4% in A that are not in B.  A and B must be sorted and unique, and the result
5% will be sorted and unique.
6
7c = a(~ismember_sorted(a,b));
Note: See TracBrowser for help on using the repository browser.