| Fuzzy Logic Toolbox | ![]() |
Built-in membership function composed of the product of two sigmoidally-shaped membership functions
y = psigmf(x,[a1 c1 a2 c2])
The sigmoid curve plotted for the vector x depends on two parameters a and c as given by

psigmf is simply the product of two such curves plotted for the values of the vector x
| f1(x; a1, c1) * f2(x; a2, c2) |
The parameters are listed in the order [a1 c1 a2 c2].
x=0:0.1:10;
y=psigmf(x,[2 3 -5 8]);
plot(x,y)
xlabel('psigmf, P=[2 3 -5 8]')

dsigmf, gaussmf, gauss2mf, gbellmf, evalmf, mf2mf, pimf, sigmf, smf, trapmf, trimf, zmf
| probor | readfis | ![]() |
© 1994-2005 The MathWorks, Inc.