Normalize the input data
Specify the input curve, which is in an XY range.
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.
Specify the method to normalize the input curve.
This variable is available only when method is set to specify. It specifies the value used to divide the input curve.
Specify the output for the normalized curve.
See the syntax here.
The following script will show you an example of normalizing a curve by dividing it by a user defined value.
string fn$=system.path.program$ + "\Samples\Curve Fitting\Exponential Decay.dat "; impASC fname:=fn$; normalize iy:=(1,2) method:=specify val:=5 oy:=<new>;
Then two columns are added to the input worksheet. One stores the x values and other stores the normalized y values.
Suppose Y is the y values of input curve, and α is a user defined value, the normalized curve, can be calculated as follows:
Divided by a specific value:
Normalize to [0, 1]:
Normalize to [0, 100]:
Transfer to N(0, 1):
Divided by Max:
Divided by Min:
Divided by Mean:
Divided by Median:
Divided by Standard Derivation:
Divided by Norm:
Divided by Mode:
Divided by Sum:
vnormalize, Rnormalize, Cnormalize