This is documentation for an obsolete product.
Current products and services

 Documentation /  Fuzzy Logic /  Function Index /



FuzzyTrapezoid[a, b, c, d, (h), opts] returns a trapezoidal fuzzy set of height h, which must be between 0 and 1. The points a, b, c, and d are the vertices of the trapezoid in increasing order. The universal space can optionally be set with this function, and the default height is 1.

FuzzyTrapezoid[{ax, bx, cx, dx}, {ay, by, cy, dy}, (h), opts] returns a trapezoidal fuzzy relation. Its membership grades linearly increase from zero to h in both the x and y directions from a to b, equal h from b to c, and linearly decrease from h to zero from c to d. If h isn't explicitly given the function uses h = 1.