Fuzzy Logic Toolbox | ![]() ![]() |
Syntax
Description
y = probor(x)
returns the probabilistic OR (also known as the algebraic sum) of the columns of x
. if x has two rows such that x = [a; b]
, then y = a + b - ab
. If x
has only one row, then y = x
.
Examples
x = (0:0.1:10); figure('Name','Probabilistic OR','NumberTitle','off'); y1 = gaussmf(x, [0.5 4]); y2 = gaussmf(x, [2 7]); yy = probor([y1; y2]); plot(x,[y1; y2; yy])
![]() | plotmf | psigmf | ![]() |