source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/argmax.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 185 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function index = argmax(x) |
2 | %ARGMAX Index of maximum element. | |
3 | % ARGMAX(X) returns an index I such that X(I) == MAX(X(:)). | |
4 | % | |
5 | % See also MAX, ARGMIN. | |
6 | ||
7 | [ignore,index] = max(x(:)); |
Note: See TracBrowser
for help on using the repository browser.