Unformatted text preview: %obtains the first 2 columns of the vector array B = vec2(:,1:end1); %obtains the first two columns of the vector2 array new = [A;B]; %vertically concatenates the new arrays C = vec(:,end); %gets the last column of the vector array D = vec2(:,end); %gets the last column of the vector2 array new2 = [C;D]; %vertically concatenates the new arrays sol = new\new2; %solves the system of equations by backdividing x = sol(1,1); %the x value is the 1st entry fo y = sol(2,1); y...
View
Full
Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Tech.
 Spring '08
 Stallworth

Click to edit the document details