<< trimf sciFLT

sciFLT >> sciFLT > zmf

zmf

Z-Shaped member function.

Calling Sequence

y=zmf(x,par)

Parameters

x:

matrix of real.

par=[a,b]:

2 element row vector of 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]);
scf();clf();
plot2d(x,[y1 y2 y3 y4],leg="y1@y2@y3");
xtitle("Z-Shaped Member Function Example","x","mu(x)");

See also

Authors


Report an issue
<< trimf sciFLT