fisOut = addInput(fisIn)
adds a default input variable to fisIn and returns the resulting fuzzy
system in fisOut. This input variable has a default name, default
range, and no membership functions.
fisOut = addInput(fisIn,range)
adds an input variable with the specified range.
mamfistype2
object — Type-2 Mamdani fuzzy inference system
sugfistype2
object — Type-2 Sugeno fuzzy inference system
range — Variable range [0 1] (default) | two-element vector
Variable range, specified as a two-element element vector where the first element is
less than the second element. The first element specifies the lower bound of the range,
and the second element specifies the upper bound of the range.
Name-Value Pair Arguments
Specify optional
comma-separated pairs of Name,Value arguments. Name is
the argument name and Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN.
Example: 'NumMFs',3 configures the variable to use three membership
functions
'Name' — Variable name string | character vector
Variable name, specified as the comma-separated pair consisting of
'Name' and a string or character vector. The default variable
name is "input<uniqueIndex>", where
uniqueIndex is automatically generated based on the current
number of inputs in fisIn.
'NumMFs' — Number of membership functions 0 (default) | nonnegative integer
Number of membership functions, specified as the comma-separated pair consisting
of 'NumMFs' and a nonnegative integer.
'MFType' — Membership function type "trimf" (default) | "gaussmf"
Membership function type, specified as the comma-separated pair consisting of
'MFType' and one of the following:
"trimf" — Triangular membership functions
"gaussmf" — Gaussian membership functions
The membership functions are uniformly distributed over the input variable range
with approximately 80% overlap in the membership function supports.