functionspliceSigmoid

Smoothing algorithm using the sigmoid function

Information

Inputs

TypeNameDefaultDescription
RealposResult after transition point
RealnegResult before transition point
RealxValue of interest (e.g., x = val-x_t)
Realk100Transition region factor (larger #s increase slope steepness)

Outputs

TypeNameDefaultDescription
RealySmoothed result