Add custom defuzzification methode - code needed for modified center of area

26 views (last 30 days)
I am designing a fuzzy system in Fuzzy Logic Toolbox. I would like to add a custom defuzzification method, namely the modified center of area (https://www.physik.uzh.ch/local/teaching/SPI301/LV-2015-Help/lvpidmain.chm/modcenter_of_area.html). Does anyone know the code I can use to implement this defuzz method?
Thank you!
  1 Comment
Nikolaos Giakoumoglou
Nikolaos Giakoumoglou on 21 Sep 2020
fis = newfis('satellite','AndMethod','min','AggregationMethod','max','DefuzzificationMethod','customdefuzz','ImplicationMethod','prod');

Sign in to comment.

Answers (1)

Asvin Kumar
Asvin Kumar on 15 Mar 2021
Adding to Nikolaos' answer, have a look at this section on adding custom defuzzification methods from this page on Building Fuzzy Systems Using Custom Functions.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!