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.