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 (2020). ARGMAX/ARGMIN (https://www.mathworks.com/matlabcentral/fileexchange/24210-argmax-argmin), MATLAB Central File Exchange. Retrieved .