Last change
on this file since 177 was
37,
checked in by (none), 15 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
376 bytes
|
Line | |
---|
1 | function 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 |
|
---|
12 | loc = ismembc2(a,s);
|
---|
Note: See
TracBrowser
for help on using the repository browser.