function defuzz with the 'mom' option

3 vues (au cours des 30 derniers jours)
gang gyoo jin
gang gyoo jin le 24 Nov 2017
Modifié(e) : gang gyoo jin le 24 Nov 2017
This is a code using a function 'defuzz' in the fuzzy logic toolbox. It gives a answer 0 -0.5 0. I doubt that the result(0) of 'som' is right.
x= -1:0.5:1;
mf= [0.1 0.8 0.8 0.8 0.1];
a1= defuzz(x,mf,'som'); a2= defuzz(x,mf,'lom'); a3= defuzz(x,mf,'mom');
[a1 a2 a3]

Réponses (0)

Catégories

En savoir plus sur Data Clustering dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!