pimf

Π-shaped built-in membership function

Syntax

y = pimf(x,[a b c d]) 

Description

This spline-based curve is so named because of its Π shape. This membership function is evaluated at the points determined by the vector x. The parameters a and d locate the "feet" of the curve, while b and c locate its "shoulders."

Examples

x=0:0.1:10;
y=pimf(x,[1 4 5 10]);
plot(x,y)
xlabel('pimf, P=[1 4 5 10]')

See Also

dsigmf, evalmf, gauss2mf, gaussmf, gbellmf, mf2mf, psigmf, sigmf, smf, trapmf, trimf, zmf


© 1994-2005 The MathWorks, Inc.