mam2sug

Transform Mamdani Fuzzy Inference System into Sugeno Fuzzy Inference System

Syntax

sug_fis=mam2sug(mam_fis) 

Description

mam2sug (mam_fis)transforms a (not necessarily a single output) Mamdani FIS structure mam_fis into a Sugeno FIS structure sug_fis. The returned Sugeno system has constant output membership functions. These constants are determined by the centroids of the consequent membership functions of the original Mamdani system. The antecedent remains unchanged.

Examples

expand all

Transform Mamdani FIS into Sugeno FIS

mam_fismat = readfis('mam22.fis');
sug_fismat = mam2sug(mam_fismat);
subplot(2,2,1); gensurf(mam_fismat,[1 2],1);
title('Mamdani system (Output 1)');
subplot(2,2,2); gensurf(sug_fismat,[1 2],1);
title('Sugeno system (Output 1)');
subplot(2,2,3); gensurf(mam_fismat,[1 2],2);
title('Mamdani system (Output 2)');
subplot(2,2,4); gensurf(sug_fismat,[1 2],2);
title('Sugeno system (Output 2)');

Was this topic helpful?