Triangular membership function
This function computes fuzzy membership values using a triangular 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 trapmf
membership function.
fismf
ObjectYou can create and evaluate a fismf
object that
implements the trimf
membership function.
mf = fismf("trimf",P);
Y = evalmf(mf,X);
Here, X
, P
, and Y
correspond to
the x
, params
, and y
arguments of trimf
, respectively.