functionevalfls - Evaluate fuzzy logic system
evalfls evaluate 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.
// GET A FLS fls=loadfls(flt_path()+"demos/fan1.fls"); // EVALUATE y1=evalfls([50 50],fls) y2=evalfls([50 20;50 50],fls,100)
fls_structure , newfls , scicos_fls ,
Jaime Urzua Grez