Info

This question is closed. Reopen it to edit or answer.

Please help me with these Logical Expressions

2 views (last 30 days)
Joe anson
Joe anson on 24 Oct 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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
madhan ravi
madhan ravi on 24 Oct 2018
Edited: madhan ravi on 24 Oct 2018
what do you want to do? Please stop asking the same questions again and again
KSSV
KSSV on 24 Oct 2018
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.

Answers (1)

Abdul Rehman
Abdul Rehman on 24 Oct 2018
Edited: Abdul Rehman on 24 Oct 2018

Tags

Community Treasure Hunt

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

Start Hunting!