and

Parent Previous Next

and

y = and ( b1,b2 )
y = b1.and ( b2 )

Point-wise boolean operation && for two arguments; Check if all logical elements are true.

arg

type

Description

Unit or Value scale

b1

LOGICAL VCT or SCL

Logical array or logical scalar


b2

LOGICAL VCT or SCL

Logical array or logical scalar


Outputs

  • y is 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.

Examples

See Also

or

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator