I have an augmented matrix that I need to solve. I have broken it into a 4x4 matrix and a vector. As seen below.(adsbygoogle = window.adsbygoogle || []).push({});

A= 0 1 1 1; 3 0 3 -4; 1 1 1 2; 2 3 1 3

B= 0; 7; 6; 6

I have already worked the matrix out by hand using Gaussian Elimination and have obtained the solution below

Solution: 4; -3; 1; 2

How, do I enter the system into Matlab to get the same answer?

**Physics Forums - The Fusion of Science and Community**

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!

# Linear Algebra Matlab Help

Loading...

Similar Threads - Linear Algebra Matlab | Date |
---|---|

Comparing direct and iterative solution of linear equations | Nov 8, 2016 |

Polymath or Matlab non-linear algebraic solver | Oct 11, 2013 |

Getting *unnormalized* eigenvectors of a matrix with a linear algebra subroutine? | Nov 29, 2012 |

A bit of MATLAB, a bit of linear algebra | Feb 6, 2006 |

**Physics Forums - The Fusion of Science and Community**