Matlab Code % Source % http://www.dcs.gla.ac.uk/~srogers/firstcourseml/matlab/chapter7/pcaexample.html#2 clear all;close all; % Generate the data Y = [randn(20,2);randn(20,2)+5;randn(20,2)-5]; % Add 5 random dimensions N = size(Y,1); Y = [Y randn(N,5)];
This area covers matlab works. You can learn everything about the Matlab.