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.

newfis<br />

Purpose<br />

Syntax<br />

Description<br />

Create new <strong>Fuzzy</strong> Inference System<br />

a=newfis(fisName,fisType,andMethod,orMethod,impMethod,<br />

...<br />

aggMethod,defuzzMethod)<br />

This function creates new FIS structures. newfis has up to seven input<br />

arguments, and the output argument is a FIS structure. The seven<br />

input arguments are as follows:<br />

• fisName is the string name of the FIS structure, fisName.fis you<br />

create.<br />

• fisType isthetypeofFIS.<br />

• andMethod, orMethod, impMethod, aggMethod, anddefuzzMethod,<br />

respectively, provide the methods for AND, OR, implication,<br />

aggregation, and defuzzification.<br />

Examples<br />

Thefollowingexampleshowswhatthedefaultsareforeachofthe<br />

methods.<br />

a=newfis('newsys');<br />

getfis(a)<br />

returns<br />

Name = newsys<br />

Type = mamdani<br />

NumInputs = 0<br />

InLabels =<br />

NumOutputs = 0<br />

OutLabels =<br />

NumRules 0<br />

AndMethod min<br />

OrMethod max<br />

ImpMethod min<br />

AggMethod max<br />

4-55

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

Saved successfully!

Ooh no, something went wrong!