- #1
lanew
- 13
- 0
I'm trying to solve a system of linearly dependent equations. I solved the first set no problem, but for some reason MATLAB is returning the trivial solution for the second one, can anyone explain why?
Systems:
eq1 =
-29.7250 -3.0000 0
-3.0000 -0.3028 0
eq2 =
2.7250 -3.0000 0
-3.0000 3.3028 0
Solutions
u1 =
1.0000 0.1009 0
0.0000 0.0000 0
u2 =
1 0 0
0 1 0
The first solution, u1, is what I expected, however, the second solution is not. If I do it by hand, I get:
eq2 =
1.0000 -1.1009 0
0.0000 0.0000 0
Thanks!
Systems:
eq1 =
-29.7250 -3.0000 0
-3.0000 -0.3028 0
eq2 =
2.7250 -3.0000 0
-3.0000 3.3028 0
Solutions
u1 =
1.0000 0.1009 0
0.0000 0.0000 0
u2 =
1 0 0
0 1 0
The first solution, u1, is what I expected, however, the second solution is not. If I do it by hand, I get:
eq2 =
1.0000 -1.1009 0
0.0000 0.0000 0
Thanks!