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.

Building Systems with <strong>Fuzzy</strong> <strong>Logic</strong> Toolbox Software<br />

The menu items allow you to open, close, save and edit a fuzzy system using<br />

the five basic GUI tools. You can access information about the Surface Viewer<br />

by clicking Help and close the GUI using Close.<br />

This concludes the quick walk-through of each of the main GUI tools. For the<br />

tipping problem, the output of the fuzzy system matches your original idea of<br />

the shape of the fuzzy mapping from service to tip fairly well. In hindsight,<br />

you might say, “Why bother? I could have just drawn a quick lookup table<br />

and been done an hour ago!” However, if you are interested in solving an<br />

entire class of similar decision-making problems, fuzzy logic may provide<br />

an appropriate tool for the solution, given its ease with which a system can<br />

be quickly modified.<br />

Importing and Exporting from the GUI Tools<br />

Whenyousaveafuzzysystemtoafile, you are saving an ASCII text FIS file<br />

representation of that system with the file suffix .fis. Thistextfile can be<br />

edited and modified and is simple to understand. When you save your fuzzy<br />

system to the MATLAB workspace, you are creating a variable (whose name<br />

you choose) that acts as a MATLAB structure for the FIS system. FIS files<br />

and FIS structures represent the same system.<br />

Note If you do not save your FIS to a file, but only save it to the MATLAB<br />

workspace, you cannot recover it for use in a new MATLAB session.<br />

2-57

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

Saved successfully!

Ooh no, something went wrong!