%% Exam 1 Take Home, Question 3 % First use the command randn to build a random matrix X that will hold 300 points in R^(30). %% Part (a): Mean subtract the data: %% Part (b): Compute the SVD of the mean subtracted data: %% Part (c): Project the data to the first two columns of U (from the SVD): %% Part (d): Plot the data in the plane: