This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: forget the square brackets or the semi-colon in the brackets. (You can stop Matlab from repeating your input by adding a semi-colon at the end (i.e., A=[2 -3; 6 10];).) Next, type in b=[5 3] Matlab will repeat it in a similar manner (see below). Dont forget the apostrophe. Then you can solve the x vector (i.e., x 1 and x 2 ) by typing in x=A\b or alternatively, x=inv(A)*b From these, x 1 = 1.5526 and x 2 = -0.6316...
View Full Document
This note was uploaded on 10/16/2011 for the course ENGR 210 taught by Professor Ko during the Fall '08 term at Boise State.
- Fall '08