Fuzzy Logic Toolbox    

Function Reference


This section contains brief descriptions of all functions in the toolbox, arranged first by category and then by alphabetical order.
Functions -- By Category
Functions -- Alphabetical List

Functions -- By Category

This section contains brief descriptions of all the functions in the Fuzzy Logic Toolbox. The following tables contain the functions listed by topic.

GUI Tools
anfisedit
ANFIS Editor GUI.
fuzzy
Basic FIS Editor.
mfedit
Membership Function Editor.
ruleedit
Rule Editor and parser.
ruleview
Rule Viewer and fuzzy inference diagram.
surfview
Output Surface Viewer.

Membership Functions
dsigmf
Difference of two sigmoid membership functions.
gauss2mf
Two-sided Gaussian curve membership function.
gaussmf
Gaussian curve membership function.
gbellmf
Generalized bell curve membership function.
pimf
Pi-shaped curve membership function.
psigmf
Product of two sigmoidal membership functions.
smf
S-shaped curve membership function.
sigmf
Sigmoid curve membership function.
trapmf
Trapezoidal membership function.
trimf
Triangular membership function.
zmf
Z-shaped curve membership function.

FIS Data Structure Management
addmf
Add membership function to FIS.
addrule
Add rule to FIS.
addvar
Add variable to FIS.
defuzz
Defuzzify membership function.
evalfis
Perform fuzzy inference calculation.
evalmf
Generic membership function evaluation.
gensurf
Generate FIS output surface.
getfis
Get fuzzy system properties.
mf2mf
Translate parameters between functions.
newfis
Create new FIS.
parsrule
Parse fuzzy rules.
plotfis
Display FIS input-output structure.
plotmf
Plot all of the membership functions associated with a given variable.
readfis
Load FIS from disk.
rmmf
Remove membership function from FIS.
rmvar
Remove variable from FIS.
setfis
Set fuzzy system properties.
showfis
Display annotated FIS.
showrule
Display FIS rules.
writefis
Save FIS to disk.

Advanced Techniques
anfis
Training routine for a Sugeno-type FIS (MEX only).
fcm
Find clusters with FCM clustering.
genfis1
Generate FIS matrix using grid method.
genfis2
Generate FIS matrix using subtractive clustering.
subclust
Find cluster centers with subtractive clustering.

Demos
defuzzdm
Defuzzification methods.
fcmdemo
FCM clustering demo (2-D).
fuzdemos
GUI for Fuzzy Logic Toolbox demos.
gasdemo
ANFIS demo for fuel efficiency using subclustering.
juggler
Ball-juggler with Rule Viewer.
invkine
Inverse kinematics of a robot arm.
irisfcm
FCM clustering demo (4-D).
noisedm
Adaptive noise cancellation.
slbb
Ball and beam control (Simulink ).
slcp
Inverted pendulum control (Simulink ).
sltank
Water level control (Simulink).
sltankrule
Water level control with Rule Viewer (Simulink).
sltbu
Truck backer-upper (Simulink only).

Simulink
fuzblock
Simulink fuzzy logic library.
sffis

Fuzzy inference S-function for Simulink.


  Stand-Alone C-Code Fuzzy Inference Engine Functions -- Alphabetical List