Loading

NORMALIZE

gts

The NORMALIZE function takes as parameter a numeric GTS or a list of numeric GTS and normalize them between 0 and 1 (i.e. it replaces X by (X - min)/(max - min) or by 1 if max == min).

NORMALIZE is available since version 1.0.0.

See also

Signature

Examples

// Create a new GTS with five values NEWGTS 100 NaN NaN NaN 10 ADDVALUE 200 NaN NaN NaN 9 ADDVALUE 300 NaN NaN NaN 8 ADDVALUE 400 NaN NaN NaN 7 ADDVALUE 500 NaN NaN NaN 6 ADDVALUE NORMALIZE