pimf
Pi-shaped membership function
Syntax
Description
This function computes fuzzy membership values using a spline-based pi-shaped
membership function. You can also compute this membership function using a
fismf object. For more information, see fismf Object.
This membership function is related to the smf and
zmf membership functions.
returns fuzzy membership values computed using a spline-based pi-shaped membership function.
This membership function is the product of an y = pimf(x,params)smf
function and a zmf function, and is given by:
To define the membership function parameters, specify params as the
vector [a
b
c
c].
Membership values are computed for each input value in x.
Examples
Input Arguments
Output Arguments
Alternative Functionality
fismf Object
You can create and evaluate a fismf object that
implements the pimf membership function.
mf = fismf("pimf",P);
Y = evalmf(mf,X);Here, X, P, and Y correspond to
the x, params, and y
arguments of pimf, respectively.
![Figure contains an axes object. The axes object with title pimf, P = [1 4 5 10], xlabel x, ylabel Degree of Membership contains an object of type line.](../examples/fuzzy/win64/PiShapedMembershipFunctionExample_01.png)