| MATLAB Function Reference | Search  Help Desk |
| add_rules |
adds specified number of rules
Syntax
add_rules(m,n)
add_rules(m,n,model_code)
Description
add_rules(m,n)
add n rules to the model m.
When rules are added the optimparams property of the model is set to
contain the parameters of the newly added rules. This allow to optimise by default
every parameters of a TS system.
add_rules(m,n,model_code)
add n rules to the model m, model_code is
a cell array {x y z}. x is the type of TS model ('crossproduct' or 'projected'). For 'crossproduct' models,
y is the type of the membership functions ('gaussian', 'inversedist':
1/dist_mahal^(1/(m-1)))
Remarks
This function is used to specify the number and shape of the rules associated to the TS model.