Scilab 6.0.0
- Scilab Help
- Elementary Functions
- Bitwise operations
- Complex
- Discrete mathematics
- Elementary matrices
- Log - exp - power
- Floating point
- Radix conversions
- Matrix manipulation
- Matrix operations
- Search and sort
- Set operations
- Signal processing
- Trigonometry
- and
- &
- cat
- cell2mat
- cellstr
- iscolumn
- isempty
- isequal
- ismatrix
- isrow
- isscalar
- issquare
- isvector
- lstsize
- modulo
- ndims
- nthroot
- num2cell
- or
- |
- sign
- size
- unwrap
Scilab Help >> Elementary Functions > |
|
logical OR operator
Syntax
A|B
Description
A|B
gives the element-wise logical
or
of the booleans matrices A
and
B
. A
and B
must
be matrices with the same dimensions or one from them must be a single
boolean.
Examples
[%t %t %f] | [%f %t %t] [%t %t %f] | %f
See Also
- or — logical OR over the elements of a boolean or numerical array
- and — logical AND between the elements of a boolean or numerical array
- and operator (&) — logical AND operator
- not — (~) logical not
- find — find indices of boolean vector or matrix true elements
Comments
Add a comment:
Please login to comment this page.