Please help me with these Logical Expressions

a=[4, 3, 12]; x=[0, 3, 9] and y=[14, -2,9] . Evaluate the following expressions:
  • z=(x&y)<(y&a)
  • z=(x&y)<y&a
  • z=x&(y|a)
  • z=x&y|a
  • z=x&y&~a
  • z=x>y>~a
  • z=x&y>a
  • z=(x&y)>a

2 Comments

what do you want to do? Please stop asking the same questions again and again
YOu have the logical indices already in hand....get the values you want, using those indices.
Do not ask the same question multiple times. The same question got posted five times.

This question is closed.

Tags

Asked:

on 24 Oct 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!