function

zmf - Z-Shaped member function.

Calling Sequence

y=zmf(x,par)

Parameters

Description

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

Examples

x=linspace(0,1,100)';
y1=zmf(x,[0.2 0.3]);
y2=zmf(x,[0.2 0.6]);
y3=zmf(x,[0.2 0.8]);
y4=zmf(x,[0.8 0.4]);
xbasc();
plot2d(x,[y1 y2 y3 y4],leg="y1@y2@y3");
xtitle("Z-Shaped Member Function Example","x","mu(x)");

See Also

member_functions ,   mfeval ,  

Author

Jaime Urzua Grez