functionlinear - Linear output for Takagi-Sugeno fuzzy logic systems.
constant compute the linear output of a Takagi-Sugeno fls due the evaluations of rules stored in x . This is a util function.
The number of parameters are equal to the number of inputs plus 1.
The output have the form: y(j) = par(j,1)*x(j,1)+par(j,2)*x(j,2)+...+par(j,n)*x(j,n)+par(j,n+1) 1<=j<=m
Jaime Urzua Grez