By use MATLAB Write a code to implement following Name your
By use MATLAB
Write a code to implement following, Name your code as problem4.m: Ask the user for a 3 Times 3 matrix input. Name the matrix as \'A\'. Use that input to get an answer for A(2, 2), A(3, 3) and A(1, 1) from (a) Use if statement to check if the number in A(3, 2) is positive and record the number, elseif to check if the number is \'0\', if it is \'0\' then included a statement \"The number is zero\". If the number is negative include a statement, \"The number is negative\".Solution
A=input(\'Enter a 3*3 matrix :\');
 B=A(2,2)
 C=A(3,3)
 D=A(1,1)
 if A(3,2)>0
 disp(\'The value of A(3,2) is\');
 E=A(3,2)
 elseif A(3,2)<0
 disp(\'The number is negative\');
 else
 
 disp(\'The number is zero\');
end
Just paste this code in the matlab window and run it , command window will show thw answers.

