Fuzzy Mamdani
Fuzzy Mamdani
Fuzzy Mamdani
0.8
N P N P 0.6
0.5 0.5
N 0 P
0
-1 -0.5 0 0.5 1 0 -1 -0.5 0 0.5 1 0 -1 -0.5 0 0.5 1
e de x
RULE 1: IF e = P AND de = P THEN x = N µN(e) = 0.4; µP(e) = 0.6 and µN(de) = 0.2; µP(de) = 0.8
1 1
N P N P
0.5 0.6
0.5
N 0 P
0.2
0
-1 -0.5 0 0.5 1 0 -1 -0.5 0 0.5 1 0 -0.5 0 0.5 1
-1
e de x
RULE 2: IF e = P AND de = N THEN x = 0 µN(e) = 0.4; µP(e) = 0.6 and µN(de) = 0.2; µP(de) = 0.8
1 1
0.8
N P N P N 0 P
0.5 0.5
0.4
0
-1 -0.5 0 0.5 1 0 -1 -0.5 0 0.5 -0.5 0 0.5
e de x
RULE 3: IF e = N AND de = P THEN x = 0 µN(e) = 0.4; µP(e) = 0.6 and µN(de) = 0.2; µP(de) = 0.8
1 1
N P N P N 0 P
0.5 0.5
0.4
0.2
0
-1 -0.5 0 0.5 1 0 -1 -0.5 0 0.5 -1 -0.5 0 0.5
e de x
RULE 4: IF e = N AND de = N THEN x = P µN(e) = 0.4; µP(e) = 0.6 and µN(de) = 0.2; µP(de) = 0.8
0.8
0.6 0.6
N 0 P N 0 P
0.2
0.8
N 0 P N P
0.4 0.4
0.2
Agregasi (Sum)
-1 -0.5 0 0.5 -1 -0.5 0 0.5
X is 0 (0.4) X is P (0.2)
1
0.6 N P
0.4
0.2
-1 -0.5 0 0.5
1
0.6 N O P
0.4
0.2
-1 -0.5 0 0.5 1