functionpsigmf
Product of two sigmoidal membership functions
Extends from BusinessSimulation.Icons.Function (Icon for functions).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The function returns the degree of membership using the product of two sigmoidal functions given the real input x and the parameters shape parameter for the s-shaped transition area a, center of the s-shaped transition area b, shape parameter of the z-shaped transition area c, and center of the z-shaped transition area d of the function.
Implementation
y := sigmf(x, a = a, c = b) * sigmf(x, a = -c, c = d);
Syntax
Functions.psigmf(x, a, b, c, d);
Examples
Functions.psigmf( 8, a=2, b=3, c=5, d=8); // 0.4999773.. Functions.psigmf( 6.9, a=2, b=3, c=5, d=8); // 0.9955219.. Functions.psigmf( 3, a=2, b=3, c=5, d=8); // 0.4999999.. Functions.psigmf( 10, a=2, b=3, c=5, d=8); // 4.53978e-05
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | Input value for which the degree of membership is to be computed | |
| Real | a | Shape parameter controlling the width of s-shaped transition area (higher values → steeper transition) | |
| Real | b | Center of s-shaped transition area | |
| Real | c | Shape parameter controlling the width of z-shaped transition area (higher values → steeper transition) | |
| Real | d | Center of z-shaped transition area |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | Degree of membership |