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

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

Added original make3d

File size: 302 bytes
Line 
1function i = find_sameobject(x,v)
2% Returns the index of the first element of x which is the same object as v.
3% x is a cell array.
4
5% Written by Tom Minka
6% (c) Microsoft Corporation. All rights reserved.
7
8for i = 1:length(x)
9  if sameobject(x{i},v)
10    return
11  end
12end
13i = length(x)+1;
Note: See TracBrowser for help on using the repository browser.