%% Problem 1 on the take home exam: % Be sure and download the Matlab data file to a directory with this m-file load Exam2THQ1; % This load X (100 x 3) and Xtest (10 x 2). %% Set up the matrix for the least squares problem. % Think about it column-wise, where the x's are in X(:,1), the y's are in % X(:,2), and the z's are in X(:,3).