functionsmf - S-Shaped member function.
smf compute the s-shaped member function of x with parameters [a,b] .
x=linspace(0,1,100)';
y1=smf(x,[0.2 0.3]);
y2=smf(x,[0.2 0.6]);
y3=smf(x,[0.2 0.8]);
y4=smf(x,[0.8 0.4]);
xbasc();
plot2d(x,[y1 y2 y3 y4],leg="y1@y2@y3");
xtitle("S-Shaped Member Function Example","x","mu(x)");
Jaime Urzua Grez