source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/match.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
File size: 250 bytes |
Line | |
---|---|
1 | function loc = match(x,tab) |
2 | %MATCH Location of matches in a set. |
3 | % MATCH(x,tab) returns loc such that tab(loc(i)) = x(i). |
4 | % If x(i) is not in tab, loc(i) = 0. |
5 | % |
6 | % This function is a special case of ISMEMBER. |
7 | |
8 | [dummy,loc] = ismember(x,tab); |
Note: See TracBrowser
for help on using the repository browser.