MATLAB Problem With MATLAB RREF Function Returning Trivial Solution.

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

Want to reply to this thread?

"Problem With MATLAB RREF Function Returning Trivial Solution." You must log in or register to reply here.

Related Threads for: Problem With MATLAB RREF Function Returning Trivial Solution.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top