Question: Suppose that x = [-3, 0, 0, 2, 5, 8] and y = [-5, -2, 0, 3, 4, 10]. Find the results of the following
Suppose that x = [-3, 0, 0, 2, 5, 8] and y = [-5, -2, 0, 3, 4, 10]. Find the results of the following operations by hand and use MATLAB to check your results.
a. z = y < ~ x
b. z = x & y
c. z = x|y
d. z = xor(x,y)
Step by Step Solution
3.37 Rating (178 Votes )
There are 3 Steps involved in it
a The operation y x is not a valid operation in Python The operator is the bitwise NOT operator and ... View full answer
Get step-by-step solutions from verified subject matter experts
