newfis

Create new FIS

Syntax

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:

Examples

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]

See Also

readfis, writefis


© 1994-2005 The MathWorks, Inc.