- #1
senmeis
- 69
- 2
Homework Statement
A and X: 6x1 vectors
A = [-0.39; -3.99; 1.01; 0.57; -0.70; -2.81]B: 6x6 symmetrical matrix
B = [1.1 -0.2 0.19 -1.03 0.69 -0.47
-0.2 0.17 -0.25 0.43 -0.06 -0.05
0.19 -0.25 0.88 -0.62 -0.21 0.29
-1.03 0.43 -0.62 1.59 -0.3 0.04
0.69 -0.06 -0.21 -0.3 0.97 -0.62
-0.47 -0.05 -0.29 0.04 -0.62 0.59]An integer X shall be determined so that f = (A - X)t•B•(A - X) is minimal.
Homework Equations
The Attempt at a Solution
I think the critical condition is X must be integer so the conventional method grad(f) = 0 cannot be applied.