9. Use MATLAB to find $B^{-8}$.
Write the Matlab command used and your answer here:
Command used: $Bp = (inv(B))^8$
Answer:
Bp =
0.0108 -0.0087 0.0109 -0.0066
0.0025 -0.0007 -0.0072 0.0058
-0.0199 0.0143 -0.0034 -0.0010
-0.0036 0.0018 -0.0011 0.0011
10. Let $b = [1, 2, 3, 4]^T$. Use MATLAB to solve the linear system
$Bx = b$. Write the Matlab command used and your answer here:
Command used:
b = [1, 2, 3, 4]
bT = transpose(b)
x = mldivide(B, bT)
Answer:
b =
1 2 3 4
bT =
1
2
3
4
x =
0.2455
0.4080
0.7811
1.2430