Main Content

Probabilistic Rule Agg

Probabilistic OR function for rule aggregation

  • Probabilistic Rule Agg block

Libraries:
Fuzzy Logic Toolbox / Membership Functions

Description

The Probabilistic Rule Agg block returns the element-wise probabilistic OR, or algebraic sum, of the two input vectors.

Ports

Input

expand all

Input values, specified as a row vector with the same number of elements as In2.

Input values, specified as a row vector with the same number of elements as In1.

Output

expand all

Probabilistic OR values, returned as a row vector y with the same number of elements as both In1 and In2. Each element of y contains the probabilistic OR of the corresponding elements from the input vectors.

Let A = In1 and B = In2. Then, the probabilistic OR of the ith elements of the input vectors is the following algebraic sum.

y(i) = A(i) + B(i) - A(i)*B(i);

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

PLC Code Generation
Generate Structured Text code using Simulink® PLC Coder™.

Version History

Introduced before R2006a

See Also

Blocks

Functions