X(i,2)], 'color', 'b');
end
% plot the linear subspace
Z2 = [-5;5]; % 2 ``extreme'' points in latent space
Xrecon2 = Z2*W' + repmat(mu, 2,1);
h=line([Xrecon2(1,1) Xrecon2(2,1)], [Xrecon2(1,2) Xrecon2(2,2)], 'color', 'm');
axis equal

printPmtkFigure('pcaDemo2'); 


%ll = ppcaLogprob(X, W, mu, sigma2, evecs, evals)

##### SOURCE END #####
--></body></html>