<< fls2abcpqr ANFISLab Module par2abc >>

ANFISLab Module >> ANFISLab Module > initanfis

initanfis

initanfis Create an initial ANFIS model.

Calling Sequence

fls = initanfis(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'

fls :

ANFIS model (in format compatible with sciFLT)

Description

This function calculate the initial ANFIS model structure which is compatible with sciFLT module.

Examples

x = (0:0.1:10)';
y = sin(2*x)./exp(x/5);
fls = initanfis([x y],3,'gbellmf');
plotvar(fls,"input",1);

See also

Authors


Report an issue
<< fls2abcpqr ANFISLab Module par2abc >>