| Fuzzy Logic Toolbox | ![]() |
Create new FIS
a=newfis(fisName,fisType,andMethod,orMethod,impMethod, ... aggMethod,defuzzMethod)
This function creates new FIS structures. newfis has up to seven input arguments, and the output argument is an FIS structure. The seven input arguments are as follows:
fisName is the string name of the FIS structure, fisName.fis you create.
fisType is the type of FIS.
andMethod, orMethod, impMethod, aggMethod, and defuzzMethod, respectively, provide the methods for AND, OR, implication, aggregation, and defuzzification.
The following example shows what the defaults are for each of the methods.
a=newfis('newsys');
getfis(a)
returns
Name = newsys
Type = mamdani
NumInputs = 0
InLabels =
NumOutputs = 0
OutLabels =
NumRules 0
AndMethod min
OrMethod max
ImpMethod min
AggMethod max
DefuzzMethod centroid
ans =
[newsys]
| mfedit | parsrule | ![]() |
© 1994-2005 The MathWorks, Inc.