This set of functions efficiently compute argument of maximum/minimum for vectors and matrices. Its core is a MEX function obtained by compiling a C source code.
Its benefits agains Matlab built-in max and min functions are demonstrated in a demo.
Marco Cococcioni (2021). ARGMAX/ARGMIN (https://www.mathworks.com/matlabcentral/fileexchange/24210-argmax-argmin), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!