source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/argmax.m
Last change on this file was 37, checked in by , 15 years ago | |
---|---|
File size: 185 bytes |
Line | |
---|---|
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.