31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

gensurf<br />

Example 1<br />

a = readfis('tipper');<br />

gensurf(a)<br />

25<br />

20<br />

tip<br />

15<br />

10<br />

5<br />

10<br />

8<br />

6<br />

food<br />

4<br />

2<br />

0<br />

0<br />

2<br />

4<br />

service<br />

6<br />

8<br />

10<br />

Example 2 a = gensurf(Temp,[1 2],1,[20 20],[nan nan 0.2]);<br />

This equation generates the surface of a three-input FIS named Temp<br />

from its first two inputs to its first output, while fixing a reference value<br />

for the third input at .2.<br />

See Also<br />

evalfis, surfview<br />

4-44

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

Saved successfully!

Ooh no, something went wrong!