11-02-2009 04:28 AM
Dear all
I made a fuzzy block in Labview and now I want to make the same system in MATLAB although I tried to set everything the same but the output are not the same in Labview and MATLAB.
I use Labview 8.2.1 and MATLAB 7.7 which is equiped with fuzzy toolbox 2.2.8.
The fuzzy system parameters in MATLAB are:
andMethod: 'min'
orMethod: 'max'
defuzzMethod: 'centroid'
impMethod: 'min'
aggMethod: 'max'
and in Labview:
Defuzzification method: center of gravity (which I think should be the same as 'centroid')
Inference method: max-min
All the rules and fuzzy terms are the same and I checked the fired rules which are the same with same weight for each entry.
Do yoou have any idea why these two are different?
Best regards
Afshin
11-02-2009 12:17 PM