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

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

Added original make3d

  • Property svn:executable set to *
File size: 376 bytes
Line 
1function loc = match_sorted(a,s)
2%MATCH_SORTED   Location of matches in a sorted set.
3% MATCH_SORTED(A,S) returns LOC such that S(LOC(i)) = A(i).
4% If A(i) is not in S, LOC(i) = 0.
5% S must be sorted and unique.
6%
7% This function is a special case of ISMEMBER_SORTED.
8
9% Written by Tom Minka
10% (c) Microsoft Corporation. All rights reserved.
11
12loc = ismembc2(a,s);
Note: See TracBrowser for help on using the repository browser.