DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Declaration: Squash (x: double; offset, slope, amplitude: double): double;
The function Squash calculates the sigmoid function at the argument x. The parameter slope determines the slope of the function in the inflection point, the parameter ampl the amplitude of the function, and the parameter offset controls the offset in x direction.

The following figure shows the generated radius basis function using the following parameters:

Slope = 0.30
XOffset = 100
Ampl = 6.0