Exercise 2.2.18

Answers

To find the closest line b = Dt through the origin, we have A = [0 1 3 4 ], AT = [0134 ], and b = [ 0 8 8 20 ]

Solve for ATAx^ = ATb, we have ATA = [26 ], and ATb = [112 ], we find x^ = [56 13 ] , so the best horizontal line fit is b = Dt = 56 13t.

The errors are e = b p = 56 13, 48 13,64 13, 36 13, total error E = 64.095

User profile picture
2020-03-20 00:00
Comments