Task -9 -5 -1 -1 -0 -3 Task ones 11 eye 11 11 Task -5 84 84 23 59 -9 2

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
% Task 1
A = [-9.8 4.4 1.3; -5.7 0.1 0.8; 2.4 4.4 8.6]
B = [1 0 2; 3 0 -1; 5 2 2; 8 9 0]
C = [0.1 0.2 -1.3 0.7; -0.2 0.3 2.2 0.8; 1.9 2.3 6.5 4.9]
(((A^3) + C*B)*((A^2) - 3*(C*B)))'
A^4 + 2*(A^3) - A*C*B
B*A*C - 4*(C')*B'
B*(A^3)*C - B*A*C + 2*(B*C)
-3*(C')*A*C - B*(B')
(B*C*B - 4*(C'))*(A^4)
(A*(B') - C)*(C + A*(B'))' - 3*A
(A*(B')*B)^4 - 2*(A^3) + C*(C')
C*(B*(B') + (C')*C)*C' - 8*A
2*A*(A') - (C*B)^2 + 4*A
% Task 2
Q = (ones(8, 11) - eye(8, 11));
Q(8, 1:1:11) = 0
% Task 3
X = [-5.84 9.84 0.23 1.59; -9.25 -0.25 1.54 0.43]
Y = 1 ./ (1 + (1 + X) ./ (1 - X.^2))
% Task 4
TL = [1 2 3; 1 2 3; 1 2 3]
TR = diag([-1 -1 -1])
BL = rot90(eye(3) .* 7)
BR = ones(3) .* 2
A = [TL TR; BL BR]
m = max(min(A))