| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Fuzzy Logic Toolbox |
| Contents | Index |
| Learn more about Fuzzy Logic Toolbox |
out = defuzz(x,mf,type)
defuzz(x,mf,type) returns a defuzzified value out, of a membership function mf positioned at associated variable value x, using one of several defuzzification strategies, according to the argument, type. The variable type can be one of the following:
centroid: centroid of area
bisector: bisector of area
mom: mean value of maximum
som: smallest (absolute) value of maximum
lom: largest (absolute) value of maximum
If type is not one of those listed, Fuzzy Logic Toolbox software assumes it to be a user-defined function. x and mf are passed to this function to generate the defuzzified output.
x = -10:0.1:10; mf = trapmf(x,[-10 -8 -4 7]); xx = defuzz(x,mf,'centroid');
![]() | convertfis | dsigmf | ![]() |

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 |