| Fuzzy Logic Toolbox | ![]() |
Built-in membership function composed of the difference between two sigmoidal membership functions.
Synopsis
y = dsigmf(x,[a1 c1 a2 c2])
Description
The sigmoidal membership function used here depends on the two parameters a and c and is given by

The membership function dsigmf depends on four parameters, a1, c1, a2, and c2, and is the difference between two of these sigmoidal functions:
The parameters are listed in the order: [a1 c1 a2 c2].
Example
x=0:0.1:10;
y=dsigmf(x,[5 2 5 7]);
plot(x,y)
xlabel('dsigmf, P=[5 2 5 7]')
See Also
gaussmf, gauss2mf, gbellmf, evalmf, mf2mf, pimf, psigmf, sigmf, smf, trapmf, trimf, zmf
| defuzz | evalfis | ![]() |