Display fuzzy inference system
plotfis(
displays a high-level diagram of
a fuzzy inference system (FIS). The center of the display shows the name, type, and rule
count for the FIS. The input variables with associated membership functions are displayed to
the right, and the outputs with their associated membership functions are displayed on the
left.fis
)
Create a fuzzy inference system (FIS). For this example, read the FIS from the
tipper.fis
file.
fis = readfis('tipper');
Display the fuzzy system.
plotfis(fis)
Create a fistree
object from a pair of fuzzy inference systems.
fis1 = mamfis('Name','fis1','NumInputs',2,'NumOutputs',1); fis2 = sugfis('Name','fis2','NumInputs',2,'NumOutputs',1); con1 = ["fis1/output1" "fis2/input1"]; con2 = ["fis1/input1" "fis1/input2"]; tree = fistree([fis1 fis2],[con1; con2]);
Display the tree of fuzzy inference systems.
plotfis(tree)
FIS Names: fis1 fis2 Connections: From To ------------ ----------- fis1/output1 fis2/input1 fis1/input1 fis1/input2 Inputs: fis1/input1 fis2/input2 Outputs: fis2/output1
For a fistree
object, this function shows a description of the system in the Command Window instead of a figure.
evalmf
| fistree
| mamfis
| mamfistype2
| plotmf
| readfis
| sugfis
| sugfistype2