Problem With MATLAB RREF Function Returning Trivial Solution.

  • MATLAB
  • Thread starter lanew
  • Start date
  • #1
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!
 

Answers and Replies

Related Threads on Problem With MATLAB RREF Function Returning Trivial Solution.

Replies
1
Views
3K
  • Last Post
Replies
3
Views
3K
Replies
3
Views
2K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
2K
Replies
2
Views
6K
  • Last Post
Replies
3
Views
640
Replies
4
Views
1K
  • Last Post
Replies
0
Views
7K
Top