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 semicolon in the brackets. (You can stop Matlab from repeating your input by adding a semicolon 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). Don’t 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
 Fall '08
 KO
 Statics, matlab, ASCII, Typewriter, MATLAB command window, Matlab initial screen

Click to edit the document details