30 views (last 30 days)
Show older comments
Somesh Singh on 30 Aug 2011
Answered: Wilson Andrés Múnera Cardona on 25 Mar 2020
I am working in the Fuzzy Interface System. I have fuzzified the inputs and outputs and I have also framed fuzzy rules. I wish to know how defuzzification can be done in the Fuzzy logic Toolbox....
Wilson Andrés Múnera Cardona on 25 Mar 2020
I have a table with a sample of inputs and I want to see the deffuzification value for all. ¿How can I do this?
Lucas García on 30 Aug 2011
Edited: John Kelly on 27 Feb 2015
If you are using the Fuzzy Inference System editor, you can choose in the main GUI one of the defuzzication methods. The input for the defuzzification process is a fuzzy set. Actually, its the aggregate output fuzzy set which must be defuzzified in order to resolve a single value from the set.
The Fuzzy Logic Toolbox includes 5 defuzzification methods, from which the centroid calculation (which returns the center of area under the curve) is the most popular. The other methods are bisector, mom (mean value of maximum -the average of the maximum value of the output set-), som (smallest of maximum) and lom (largest of maximum).
I recommend you take a look at the following videos to see how the complete process is made:
This demo shows the differences between defuzzification methods.
If you want to do defuzzification without using the FIS interface, you can use the defuzz function.
Find more on Fuzzy Logic in Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!