Normalize a vector
Please refer to the page for additional option switches when accessing the x-function from script
Input
vector
Specify the input vector data or column.
TreeNode
This is for displaying the data information in the dialog. When you are using the X-Function by LabTalk, please do not use this variable.
int
Specify the method used to normalize the data. Option list:
double
This variable is available only when method is set to specify. It specifies the value used to divide the input vector.
Column
Option list:
Range
Output
Specify the output for the normalized vector.
This function performs normalization to a vector.
To normalize the second column by dividing the mean, and output result to a new column, type the following in the Command Window:
vnormalize ix:=Col(4) method:=Mean ox:=<new>;
Suppose is the input vector, and is a user defined value, the normalized vector, can be computated as follows:
Normalize to [0, 1]:
Normalize to [0, 100]:
Z scores (standardize to N(0, 1)):
Divided by Max:
Divided by Min:
Divided by Mean:
Divided by Median:
Divided by Standard Derivation:
Divided by Norm:
is the n th values.
Divided by Mode:
Divided by Sum:
normalize, Rnormalize, Cnormalize