%% S-Shaped Membership Function

x = 0:0.1:10;
y = smf(x,[1 8]);
plot(x,y)
xlabel('smf, P = [1 8]')
ylim([-0.05 1.05])

% Copyright 2015 The MathWorks, Inc.