Skip to Main Content Skip to Search
Product Documentation

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 | evalmf | gauss2mf | gaussmf | gbellmf | mf2mf | pimf | psigmf | sigmf | smf | trapmf | trimf | zmf

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS