evalmf - Generic membership function evaluation
Syntax
y = evalmf(x,mfParams,mfType)
Description
evalmf evaluates any membership function,
where x is the variable range for the membership function evaluation, mfType is
a membership function from the toolbox, and mfParams are
appropriate parameters for that function.
If you want to create your own custom membership function, evalmf still
works, because it evaluates any membership function whose name it
does not recognize.
Examples
x=0:0.1:10;
mfparams = [2 4 6];
mftype = 'gbellmf';
y=evalmf(x,mfparams,mftype);
plot(x,y)
xlabel('gbellmf, P=[2 4 6]')

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