Products & Services Solutions Academia Support User Community Company

Learn more about Fuzzy Logic Toolbox   

mf2mf - Translate parameters between membership functions

Syntax

outParams = mf2mf(inParams,inType,outType) 

Description

This function translates any built-in membership function type into another, in terms of its parameter set. In principle, mf2mf mimics the symmetry points for both the new and old membership functions.

The input arguments for mf2mf are as follows:

Examples

x=0:0.1:5;
mfp1 = [1 2 3];
mfp2 = mf2mf(mfp1,'gbellmf','trimf');
plot(x,gbellmf(x,mfp1),x,trimf(x,mfp2))

See Also

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS