1. Suppose you are given a variable X and you are asked to check whether its content is real or complex. Based on what you have learnt in this lab, propose two different ways, using two different MATLAB built-in functions, to perform the test. 2. Find the content of matrix B which is the output of the following piece of code: Solution 1. >> X=input(\'Enter any number:\'); t=isreal(X) if t==1 disp(\'entered number is real\') else disp(\'entered number is complex\') end Enter any number:3+3i t = 0 entered number is complex >> X=input(\'Enter any number:\'); t=isreal(X) if t==1 disp(\'entered number is real\') else disp(\'entered number is complex\') end Enter any number:4 t = 1 entered number is real 2. A=cos([pi/2, pi, 0; 2*pi,-pi, 3*pi/2]); if A(1,3)==1 || A(3)>0 B=A+1 else B=3*A end B = 1.0000Â Â Â Â Â Â Â Â 0Â Â Â 2.0000 2.0000Â Â Â Â Â Â Â Â 0Â Â Â 1.0000 .