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?(adsbygoogle = window.adsbygoogle || []).push({});

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!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Problem With MATLAB RREF Function Returning Trivial Solution.

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads for Problem MATLAB RREF |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB Does anyone had this plotting problem with MATLAB? |

Mathematica Solve Perturbation problem with mathematica |

**Physics Forums | Science Articles, Homework Help, Discussion**