Lecture 9 enteries

# Lecture 9 enteries - 6 7 9 10 11>> b =[4 8 12 b = 4 8...

This preview shows pages 1–3. Sign up to view the full content.

A = [1 -2 3 ; 2 -5 12 ; 0 2 -10] b = [4 15 -10]' x = A\b A = [1 2 3; 5 6 7; 9 10 11] b = [4 8 12]' x = A\b A*x – b x = inv(A)*b A*x – b >> A = [1 -2 3 ; 2 -5 12 ; 0 2 -10] A = 1 -2 3 2 -5 12 0 2 -10 >> b = [4 15 -10]’ ??? b = [4 15 -10]’ | Error: The input character is not valid in MATLAB statements or expressions. >> b = [4 15 -10]' b = 4 15 -10 >> x = A\b

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
x = 8 5 2 >> A = [1 2 3; 5 6 7; 9 10 11] A = 1 2 3 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 6 7 9 10 11 >> b = [4 8 12]' b = 4 8 12 >> x = A\b Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.189525e-017. x =-0.8889 0.7778 1.1111 >> A*x - b ans = >> x = inv(A)*b Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.189525e-017. x = 1 >> A*x - b ans =-1-1-1...
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

Lecture 9 enteries - 6 7 9 10 11>> b =[4 8 12 b = 4 8...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online