Advertisement
encoree1996

gauss test script

Apr 13th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.12 KB | None | 0 0
  1. clc
  2. A = [1,2,3;2,1,3;3,2,1];
  3. b = [1;2;0];
  4. %x1 = A^(-1)*b
  5. %x2 = inv(A)*b
  6. %x3 = A\b
  7. %cramer(A,b)
  8. [A,b,result]=gauss(A,b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement