Commit dedfa3e1 authored by Lacoin Achille's avatar Lacoin Achille
Browse files

ajout des modifications du TP2 et suppression des fichier inutiles

parent 04a1aa2b
......@@ -2,10 +2,11 @@ load("uspsasi.mat");
ind = find(y==2);
carac = x(ind,:);
nbImg = 3;
figure(1)
subplot(211)
imagesc(reshape(carac(198, :), 16, 16)'); colormap(gray);
imagesc(reshape(carac(nbImg, :), 16, 16)'); colormap(gray);
%imagesc(corrcoef(carac)), colorbar;
......@@ -27,4 +28,4 @@ xhat=reconstructpca(C(index,:),P,moy);
figure(1)
subplot(212)
imagesc(reshape(xhat(198, :), 16, 16)'); colormap(gray);
imagesc(reshape(xhat(nbImg, :), 16, 16)'); colormap(gray);
X = load("george.dat");
figure, plot(X(:,1), X(:,2), 'ro', 'markersize', 8, 'markerfacecolor', 'r')
hold on
title('George','fontsize', 14)
ltlX = mydownsampling()
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment