sigmf - Sigmoidally shaped built-in membership function
Syntax
y = sigmf(x,[a c])
Description
The sigmoidal function, sigmf(x,[a c]), as
given in the following equation by f(x,a,c)
is a mapping on a vector x, and depends on two
parameters a and c.

Depending on the sign of the parameter a,
the sigmoidal membership function is inherently open to the right
or to the left, and thus is appropriate for representing concepts
such as "very large" or "very negative."
More conventional-looking membership functions can be built by taking
either the product or difference of two different sigmoidal membership
functions. For more information seedsigmf and psigmf.
Examples
x=0:0.1:10;
y=sigmf(x,[2 4]);
plot(x,y)
xlabel('sigmf, P=[2 4]')

See Also
dsigmf, gaussmf, gauss2mf, gbellmf, evalmf, mf2mf, pimf, psigmf, sigmf, smf, trapmf, trimf, zmf
 | showrule | | smf |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit