Escolar Documentos
Profissional Documentos
Cultura Documentos
>> problem4
===================================================================
Matrix A
===================================================================
A =
1 2 3 4
2 3 4 5
3 4 5 6
4 5 6 7
===================================================================
Matrix B
===================================================================
B =
3 4 5 6
4 5 6 7
5 6 7 8
6 7 8 9
===================================================================
[D]=[A][B]
===================================================================
D =
50 60 70 80
68 82 96 110
86 104 122 140
104 126 148 170
===================================================================
D =
D =
50 68 86 104
60 82 104 126
70 96 122 148
80 110 140 170
DT =
50 60 70 80
68 82 96 110
86 104 122 140
104 126 148 170
===================================================================
[A][B]=[C][B]
===================================================================
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 6.622383e-018.
> In problem4 at 25
C =
===================================================================
det[A],prod[A],eig[A]
===================================================================
ans =
ans =
ans =
-1.1652
0.0000
0.0000
17.1652
ans =
17.1652
ans =
3.6089e+017
ans =
1.0e+015 *
>>