output = defuzz(x,mf,method)
returns the defuzzified output value for membership function mf at the
variable values in x using the specified defuzzification method.
Membership function values, specified as a vector with the same length as
x. Each element of mf contains a fuzzy
membership value for the corresponding variable value in x.
Defuzzification method, specified as one of the following values:
"centroid" — Centroid of the area under the output fuzzy
set
"bisector" — Bisector of the area under the output fuzzy
set
"mom" — Mean of the values for which the output fuzzy set is
maximum
"lom" — Largest value for which the output fuzzy set is
maximum
"som" — Smallest value for which the output fuzzy set is
maximum
Character vector or string that contains the name of a custom function in the
current working folder or on the MATLAB® path
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.