%% Translate Parameters Between Membership Functions

x = 0:0.1:6;
mf = fismf('gbellmf',[1 2 3]);
plot(x,evalmf(mf,x)),hold on
mf.Type = 'trimf';
plot(x,evalmf(mf,x)),hold off
legend('Generalized bell-shaped','Triangle-shaped','Location','South')
ylim([-0.05 1.05])

% Copyright 2015-2018 The MathWorks, Inc.