and
Point-wise boolean operation && for two arguments; Check if all logical elements are true.
Syntax
y = and ( b1,b2 )
y = b1.and ( b2 )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
b1 | LOGICAL VCT or SCL | Logical array or logical scalar | n/a |
b2 | LOGICAL VCT or SCL | Logical array or logical scalar | - |
Outputs / Return Value
y:yis a logical array for two arguments with the length of a shorter argument or a logical scalar for one argument.
Notes
- If two arguments have different length, the boolean operation is applied only to the common length.
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.