Make a Fault Restriction Apply to Both Permissions

For five actuator channels, logical arrays indicate a normal permission, a backup permission, and a fault:


MATLAB
normal = logical([1 0 1 0 0]);
backup = logical([0 1 1 0 1]);
fault  = logical([1 0 0 0 1]);
run = normal | backup & ~fault;


The required policy permits a channel to run when either permission is true, provided its fault flag is false. Which statement correctly identifies the current result and the replacement expression that implements this policy?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Element-by-Element Boolean Operators Questions: