Publisher review:max_min - Get extremes of series. Syntax:[MAX,MIN] = MAX_MIN(X,DISP)Inputs:X Vector to analyseDISP Show result in a plot (new figure) [ {0} | 1 ]Output:MAX Maximums structure with fields .i .val .iabs .abs (indices, values, indice of absolute maximum, absolute maximum)MIN Minimums structure with fields .i .val .iabs .abs (indices, values, indice of absolute minimum, absolute minimum)Example: (see screenshot)x=[2 2 1 1 1 2 3 1 .5 1 1 1 .5 .5 .5 .7 .1 1 1 1 ];[Max, Min]=max_min(x,1);legend('x','max','min','abs max','abs min') Requirements: ยท MATLAB Release: R12
max_min is a Matlab script for Mathematics scripts design by M MA.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris