<< editfls sciFLT fcmeans >>

sciFLT >> sciFLT > evalfls

evalfls

Evaluate fuzzy logic system

Calling Sequence

y=evalfls(x,fls,[npev])

Parameters

x:

matrix of real. Input points.

fls:

fls structure to evaluate

npev:

scalar or vector, number of points to evaluate during defuzzification algorithm (mamdani)

Description

evalflsevaluate the fuzzy logic system fls in points x and return values in y. The x parameters have dimension [npairs_of_inputs, number_of_inputs], the output y have dimension [npairs_of_inputs, number_of_outputs].

The npev parameter is optional in Mamdani case, the user can set the number of partitions of the output variable domain to evaluate the member functions for each output. This parameter can be a scalar (all outputs are evaluated with the same number of partitions) or vector (each element set the number of partitions for each output).The default value for all outputs is 1001 points.

Examples

// GET A FLS
fls=loadfls(flt_path()+"demos/fan1.fls");
// EVALUATE
y1=evalfls([50 50],fls)
y2=evalfls([50 20;50 50],fls,100)

See also

Authors


Report an issue
<< editfls sciFLT fcmeans >>