function

delmf - Delete member function to a fls and return it with this change.

Calling Sequence

fls=delmf( fls_input , input_output , var_index , mf_index )

Parameters

Description

delmf delete a member function from fuzzy logic system fls_input and return it with this change as fls . This command only delete the mf_index member function of the var_index variable if the member function exist in the input or output (depends of input_output parameter). If the fuzzy logic system have rules, then fix the rules reflecting the change.

Examples

fls=newfls("m");
fls=addvar(fls,"input","speed",[0 100]);
fls=addmf(fls,"input",1,"low","trimf",[-50 0 50]);
fls=addmf(fls,"input",1,"med","trimf",[0 50 100]);
fls=addmf(fls,"input",1,"high","trimf",[50 100 150]);
fls=delmf(fls,"input",1,2); // Delete the member function named "med" in the input variable number 1 named "speed"

See Also

addvar ,   delvar ,   addmf ,   fls_structure ,  

Author

Jaime Urzua Grez