A = [1 -2 3; 4 5 -6; -7 8 9];

% a
B = A(2:3,1:2)

% b
C = A.^(-2)

% c
D = B + eye(2)

% d
E = A(:,1) * A(1,:)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: