source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/setdiff_sorted.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 298 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function 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 | ||
7 | c = a(~ismember_sorted(a,b)); |
Note: See TracBrowser
for help on using the repository browser.