FUNCTION REFERENCE

evalfis

Evaluate a type-1 Mamdani or Sugeno fuzzy inference system.

Evaluate a type-1 Mamdani or Sugeno fuzzy inference system.

Syntax

[y,fuzzifiedIn,ruleOut,aggregatedOut,ruleFiring] = evalfis(fis,input,options)

Input rows are samples and columns are inputs. A vector with one element per input is one sample. Intermediate outputs describe the last sample. Options are optional. Out-of-range inputs are clipped. Empty outputs default to the midpoint of the output range.

Example

f=mamfis(NumInputs=2,NumOutputs=1); y=evalfis(f,[.2 .7]);

Differences from MATLAB: type-1 objects only; inputs must be finite. Uses the existing piecewise linear defuzzification kernel.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.