31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Foundations of <strong>Fuzzy</strong> <strong>Logic</strong><br />

Two membership functions are built on the Gaussian distribution curve: a<br />

simple Gaussian curve and a two-sided composite of two different Gaussian<br />

curves. The two functions are gaussmf and gauss2mf.<br />

The generalized bell membership function is specified by three parameters<br />

and has the function name gbellmf. The bell membership function has one<br />

more parameter than the Gaussian membership function, so it can approach<br />

a non-fuzzy set if the free parameter is tuned. Because of their smoothness<br />

and concise notation, Gaussian and bell membership functions are popular<br />

methods for specifying fuzzy sets. Both of these curves have the advantage of<br />

being smooth and nonzero at all points.<br />

1<br />

1<br />

1<br />

0.75<br />

0.75<br />

0.75<br />

0.5<br />

0.5<br />

0.5<br />

0.25<br />

0.25<br />

0.25<br />

0<br />

0 2 4 6 8 10<br />

gaussmf, P = [2 5]<br />

gaussmf<br />

0<br />

0 2 4 6 8 10<br />

gauss2mf, P = [1 3 3 4]<br />

gauss2mf<br />

0<br />

0 2 4 6 8 10<br />

gbellmf, P = [2 4 6]<br />

gbellmf<br />

Although the Gaussian membership functions and bell membership functions<br />

achieve smoothness, they are unable to specify asymmetric membership<br />

functions, which are important in certain applications. Next, you define the<br />

sigmoidal membership function, which is either open left or right. Asymmetric<br />

and closed (i.e. not open to the left or right) membership functions can be<br />

synthesized using two sigmoidal functions, so in addition to the basic sigmf,<br />

you also have the difference between two sigmoidal functions, dsigmf, andthe<br />

product of two sigmoidal functions psigmf.<br />

1<br />

1<br />

1<br />

0.75<br />

0.75<br />

0.75<br />

0.5<br />

0.5<br />

0.5<br />

0.25<br />

0.25<br />

0.25<br />

0<br />

0 2 4 6 8 10<br />

sigmf, P = [2 4]<br />

sigmf<br />

0<br />

0 2 4 6 8 10<br />

dsigmf, P = [5 2 5 7]<br />

dsigmf<br />

0<br />

0 2 4 6 8 10<br />

psigmf, P = [2 3 −5 8]<br />

psigmf<br />

2-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!