Add membership function to fuzzy variable
adds a membership function with the specified type and parameters.fisOut
= addMF(fisIn
,varName
,type
,parameters
)
configures the membership function using one or more name-value pair arguments.fisOut
= addMF(___,Name,Value
)
adds a default membership function to fuzzy variable varOut
= addMF(varIn
)varIn
and
returns the resulting fuzzy variable in varOut
.
If varIn
does not contain any membership functions, this syntax
adds a default type-1 membership function. Otherwise, the type of the added membership
function matches the type of the existing membership functions in
varIn
.
adds a membership function with the specified type and parameters.varOut
= addMF(varIn
,type
,parameters
)
specifies the name of the membership function using the varOut
= addMF(___,Name,Value
)Name
name-value pair argument.
To add a type-2 membership function to a fuzzy variable with no existing membership
functions, you must specify either the LowerLag
or
LowerScale
name-value pair argument.