<< abc2par ANFISLab Module anfis >>

ANFISLab Module >> ANFISLab Module > abcfixed

abcfixed

abcfixed Calculate the initial ANFIS model parameters.

Calling Sequence

abc = abcfixed(E,L,FP);
[abc, pqr]=abcfixed(E,L,FP);

Parameters

E :

Training data, each variables arranged in a column, with last column as the output varaible

L :

Number of membership functions per input variable

FP :

Membership function, 'gbellmf', 'trimf' or 'trapmf'

abc :

ANFIS model parameters, input membership functions

pqr :

ANFIS model parameters, output rules parameters

Description

This function calculate the initial ANFIS model parameters, each row representing one membership function. Total number of rows is the number of input variables mutiply by the number of membership functions per input variable.

Examples

x = (0:0.1:10)';
y = sin(2*x)./exp(x/5);
abc=abcfixed([x y],5,'trapmf')

See also

Authors


Report an issue
<< abc2par ANFISLab Module anfis >>