Remove a membership function.

Share:

Description

Removes a specified membership function from a given variable (which must be part of a FIS object).

Usage

1
removeMF(FIS, varType, varIndex, mfIndex)

Arguments

FIS

Requires a FIS.

varType

Should be either 'input' or 'output', representing the type of variable.

varIndex

The index of the input or output variable (Base 1).

mfIndex

The index of the membership function which is to be removed.

Value

A FIS with the membership function removed.

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian

Examples

1
2
FIS <<- tippertest()
FIS <<- removeMF(FIS, "input", 2, 1)