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.

2 Tutorial<br />

Constraints of anfis<br />

anfis is much more complex than the fuzzy inference systems discussed<br />

so far, and is not available for all of the fuzzy inference system options.<br />

Specifically, anfis only supports Sugeno-type systems, and these must have<br />

the following properties:<br />

• Be first or zeroth order Sugeno-type systems.<br />

• Have a single output, obtained using weighted average defuzzification. All<br />

output membership functions must be the same type and either be linear<br />

or constant.<br />

• Have no rule sharing. Different rules cannot share the same output<br />

membership function, namely the number of output membership functions<br />

must be equal to the number of rules.<br />

• Have unity weight for each rule.<br />

An error occurs if your FIS structure does not comply with these constraints.<br />

Moreover, anfis cannot accept all the customization options that basic fuzzy<br />

inference allows. That is, you cannot make your own membership functions<br />

and defuzzification functions; you must use the ones provided.<br />

Training Adaptive Neuro <strong>Fuzzy</strong> Inference Systems<br />

Using the ANFIS Editor GUI<br />

You can create, train, and test Sugeno-type fuzzy systems using the ANFIS<br />

Editor GUI. For more information about the supported Sugeno-type systems,<br />

see “Constraints of anfis” on page 2-110.<br />

To start the GUI, type the following command at the MATLAB prompt:<br />

anfisedit<br />

The ANFIS Editor GUI window shown in the following figure includes four<br />

distinct areas to support a typical workflow. The GUI lets you perform the<br />

following tasks:<br />

1 Load, plot, and clear the data.<br />

2-110

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

Saved successfully!

Ooh no, something went wrong!