source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/find_sameobject.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
File size: 302 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function 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 | ||
8 | for i = 1:length(x) | |
9 | if sameobject(x{i},v) | |
10 | return | |
11 | end | |
12 | end | |
13 | i = length(x)+1; |
Note: See TracBrowser
for help on using the repository browser.