| Fuzzy Logic Toolbox | ![]() |
Synopsis
a=newfis(fisName,fisType,andMethod,orMethod,impMethod, ...
aggMethod,defuzzMethod)
Description
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.fis you create. andMethod, orMethod, impMethod, aggMethod, and defuzzMethod, respectively, provide the methods for AND, OR, implication, aggregation, and defuzzification.Examples
The following example shows what the defaults are for each of the methods.
a=newfis('newsys');
getfis(a)
Name = newsys
Type = mamdani
NumInputs = 0
InLabels =
NumOutputs = 0
OutLabels =
NumRules 0
AndMethod min
OrMethod max
ImpMethod min
AggMethod max
DefuzzMethod centroid
ans =
[newsys]
See Also
| mfedit | parsrule | ![]() |