Probabilistic OR
Probabilistic OR function
Libraries:
Fuzzy Logic Toolbox /
Membership Functions
Description
The Probabilistic OR block returns the probabilistic OR value, or algebraic sum, for the input signal.
Ports
Input
In1 — Input values
array | row vector
Input values, specified as an array or row vector x.
Output
Out1 — Probabilistic OR values
row vector
Probabilistic OR values, returned as a row vector y with the same number of columns as the input x. Each element of y contains the probabilistic OR value for the corresponding column in x.
If x has one row, then y = x.
If x = [A;B]
, where A
and
B
are row vectors, then the ith element of
y is the following algebraic sum.
y(i) = A(i) + B(i) - A(i)*B(i);
If x has more than two rows, the probabilistic OR is initially calculated for the first two rows. Then, the probabilistic OR is computed between the result and the next row. This process repeats for each subsequent row.
x = [A;B;C;D] y(i) = A(i) + B(i) - A(i)*B(i); y(i) = y(i) + C(i) - y(i)*C(i); y(i) = y(i) + D(i) - y(i)*D(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
Comando MATLAB
Hai fatto clic su un collegamento che corrisponde a questo comando MATLAB:
Esegui il comando inserendolo nella finestra di comando MATLAB. I browser web non supportano i comandi MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)