SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 2 Vol 1

MIN

Name:
    MIN (LET)
Type:
    Library Function
Purpose:
    Return the minimum of 2 to 8 numbers.
Syntax:
    LET <yout> = MIN(<y1>,..., <yk>)
                            <SUBSET/EXCEPT/FOR qualification>
    where <y1>, ..., <yk> is a list of one to eight variable or parameters;
                <yout> is a variable or a parameter (depending on what <y1> ... <yk> are) where the computed response values are stored;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET A = MIN(14,10)
    LET A = MIN(A1,A2)
    LET A = MIN(A1,A2,A3,A4)
    LET X2 = MIN(X1,X4)
    LET X2 = MIN(X1-4,X2+6)
Note:
    This function is distinct from the LET subcommand MINIMUM. This command compares two through eight parameters (or a comparison of the corresponding elements in two through eight variables) while MINIMUM returns the smallest value in a single variable.
Note:
    The 2010/12 version of Dataplot now accepts up to eight input arguments. For example,

      LET AMIN = MIN(A1,A2,A3,A4,A5,A6,A7,A8)
Default:
    None
Synonyms:
    None
Related Commands:
    MAX = Compute the maximum of two through eight numbers.
    MAXIMUM = Compute the maximum value in a variable.
    MINIMUM = Compute the minimum value in a variable.
    ABS = Compute the absolute value of a number.
Applications:
    Data Management
Implementation Date:
    Pre-1987
    2010/12: Added support for more than two arguments.
Program:
     
    LET X = SEQUENCE 0 .1 3
    LET Y1 = X**2
    LET Y2 = X**(1/2)
    LET Y3 = MIN(Y1,Y2)
    PRINT Y1 Y2 Y3
        
    The following output is generated.
     
     ---------------------------------------------
                  Y1             Y2             Y3
     ---------------------------------------------
             0.00000        0.00000        0.00000
             0.01000        0.31623        0.01000
             0.04000        0.44721        0.04000
             0.09000        0.54772        0.09000
             0.16000        0.63246        0.16000
             0.25000        0.70711        0.25000
             0.36000        0.77460        0.36000
             0.49000        0.83666        0.49000
             0.64000        0.89443        0.64000
             0.81000        0.94868        0.81000
             1.00000        1.00000        1.00000
             1.21000        1.04881        1.04881
             1.44000        1.09545        1.09545
             1.69000        1.14018        1.14018
             1.96000        1.18322        1.18322
             2.25000        1.22474        1.22474
             2.56000        1.26491        1.26491
             2.89000        1.30384        1.30384
             3.24000        1.34164        1.34164
             3.61000        1.37840        1.37840
             4.00000        1.41421        1.41421
             4.41000        1.44914        1.44914
             4.84000        1.48324        1.48324
             5.29000        1.51658        1.51658
             5.76000        1.54919        1.54919
             6.25000        1.58114        1.58114
             6.76000        1.61245        1.61245
             7.29000        1.64317        1.64317
             7.84000        1.67332        1.67332
             8.41000        1.70294        1.70294
             9.00000        1.73205        1.73205
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 06/28/2021
Last updated: 06/28/2021

Please email comments on this WWW page to alan.heckert@nist.gov.