function

smf - S-Shaped member function.

Calling Sequence

y=smf(x,par)

Parameters

Description

smf compute the s-shaped member function of x with parameters [a,b] .

Examples

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)");

See Also

member_functions ,   mfeval ,  

Author

Jaime Urzua Grez