addvar
Add an input or output variable to an existing FIS structure and return the updated FIS.
The types of the arguments are expected to be:
The vector components x1 and x2, which must also satisfy x1 <= x2, specify the lower and upper bounds of the variable’s domain.
To run the demonstration code, type "demo addvar" (without the quotation marks) at the Octave prompt.
a = newfis ('Heart-Disease-Risk', 'sugeno', ... 'min', 'max', 'min', 'max', 'wtaver'); a = addvar (a, 'input', 'LDL-Level', [0 300]); getfis (a, 'input', 1); Name = LDL-Level NumMFs = 0 MFLabels = Range = [0 300] |