source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/match_sorted_rows.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: 418 bytes
Line 
1function loc = match_sorted_rows(a,s)
2%MATCH_SORTED_ROWS   Location of matches in sorted rows.
3% MATCH_SORTED_ROWS(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_ROWS.
8
9% Written by Tom Minka
10% (c) Microsoft Corporation. All rights reserved.
11
12[tf,loc] = ismember_sorted_rows(a,s);
Note: See TracBrowser for help on using the repository browser.