Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Logical Operations

Condition evaluation, testing for true or false

Functions

all Determine whether all array elements are nonzero
and Find logical AND of array or scalar inputs
any Determine whether any array elements are nonzero
not Find logical NOT of array or scalar input
or Find logical OR of array or scalar inputs
xor Logical exclusive-OR
Was this topic helpful?