clc clear x = [-3, 0, 0, 2, 5, 8] y = [-5, -2, 0, 3, 4, 10] % Part (b) z_and = x & y disp(z_and) % Part (c) z_or = x | y disp(z_or) % Part (d) z_xor = xor(x, y) disp(z_xor)
To embed this project on your website, copy the following code and paste it into your website's HTML: