MATLAB Function Reference
  Go to function:
    Search    Help Desk 
add_rules    

add specified number of rules

Syntax

Description

add_rules(m,n) add n rules to the model m.

add_rules(m,n,model_code) add n rules to the model m, model_code is a cell array of two elements {x y} where x is the T-norm used (only 'product' is currently implemented) and y is defuzzification method ('meancentroid').

add_rules(m,n,model_code,mode) mode can take the value 'standard' or 'rulegrid'. In lhe latter case, the position of the rules is initialised in order to fill the space according to the position of the fuzzy sets along the the different dimensions.

Remarks

This function is used to specify the number and shape of the rules associated to the TS model.

[ Help Desk ]