Fuzzy Logic Toolbox | ![]() |
Z-shaped built-in membership function.
Synopsis
y = zmf(x,[a b])
Description
This spline-based function of x
is so named because of its Z-shape. The parameters a and b locate the extremes of the sloped portion of the curve.
Examples
x=0:0.1:10; y=zmf(x,[3 7]); plot(x,y) xlabel('zmf, P=[3 7]')![]()
See Also
dsigmf
, gaussmf
, gauss2mf
, gbellmf
, evalmf
, mf2mf
, pimf
, psigmf
, sigmf
, smf
, trapmf
, trimf
![]() | writefis |