STANDARDIZE
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
The STANDARDIZE function computes standardized variables from an array of m variables (columns) and n observations (rows).
This routine is written in the IDL language. Its source code can be found in the file standardize.pro in the lib subdirectory of the IDL distribution.
Syntax
Result = STANDARDIZE( A [, /DOUBLE] )
Return Value
The result is an m-column, n-row array where all columns have a mean of zero and a variance of one.
Arguments
A
An m-column, n-row single- or double-precision floating-point array.
Keywords
DOUBLE
Set this keyword to force the computation to be done in double-precision arithmetic.
Examples
Then do the computations and print the results:
IDL prints:
25.3050 25.2331 -0.454763 -1.10028 51.1700 27.4012 -0.356958 -1.19516 27.6200 13.3017 0.420289 0.104912 20.1950 26.0731 -0.363277 -1.24886 -7.67130e-07 1.00000 -0.454761 -1.10028 -3.65451e-07 1.00000 -0.356958 -1.19516 -1.66707e-07 1.00000 0.420290 0.104913 4.21703e-07 1.00000 -0.363278 -1.24886
Version History