function run_problem3() % ... some help A = dlmread('data/problem3.csv'); % MS-Excel readable [m,n] = size(A); % ... %== Plot the row vectors projection to the 1-stPC vector h = figure; % create a new figure xlabel Feature1 % print labels ylabel Feature2 set(gca,'PlotBoxAspectRatio',[1 1 1]'); % set 1:1 axis aspect ratio grid on % show the axis grid %plot([0,1,1,0,0],[0,0,1,1,0],'-g'); % green square [0,1]x[0,1]; hold on % keep all the painting on plot(A(:,1),A(:,2),'*k'); % plot the objects with asterisks % plot objects names (order numbers) for i = 1:m, text(A(i,1),A(i,2),[' Vec',num2str(i)]); end %... return