


Approximate the membership functions by trapezoids forming a Ruspini-like partition
[input_i,LastMfNumber]=ApproxInputTrapezoids(xs,vs,CutLevel,...
DimNo,LastMfNumber,SimilarityTreshold,range)
-------------------------------------------------------------------------
Parameters
-------------------------------------------------------------------------
input - Structure describing the input linguistic variable in the
current dimension.
input--name
|-range
|-mf(j)--name
|-RPx
CutLevel - Indicates at which alpha level the shape of the cluster should
be cut for the approximation of the core of the fuzzy set.
m - exponent for the partition matrix U
-------------------------------------------------------------------------
Returned values
-------------------------------------------------------------------------
input - Structure describing the input linguistic variable in the current dimension.
input--name
|-range
|-mf(j)--name
|-RPx
|-type
|-params
|-paramsy
-------------------------------------------------------------------------
Remarks
-------------------------------------------------------------------------
After the approximation the field RPx contains the reference point
calculated with the method 'corecentre'.
Zsolt Csaba Johanyák, johanyak.csaba@gamf.kefo.hu, v. 1.2, 23 February
2007.