Lecture 18 - Different Types of Membership Functions 1
Lecture 18 - Different Types of Membership Functions 1
Qadri Hamarsheh
1
Dr. Qadri Hamarsheh
2
Dr. Qadri Hamarsheh
Fuzzy Logic Toolbox also allows you to create your own membership
functions.
Example:
x = (0:0.1:10)';
y1 = trapmf (x, [2 3 7 9]);
y2 = trapmf (x, [3 4 6 8]);
y3 = trapmf (x, [4 5 5 7]);
y4 = trapmf (x, [5 6 4 6]);
plot (x, [y1 y2 y3 y4]);
Fuzzy logic system
Fuzzy logic system (FLS) can be defined as the nonlinear mapping of an
input data set to a scalar output data. A FLS consists of four main parts:
o Fuzzifier (Fuzzification).
o Rules.
o Inference engine.
o Defuzzifier (Defuzzification).
These components and the general architecture of a FLS are shown in
Figure.
3
Dr. Qadri Hamarsheh