
% load pencor.mat

echo on;
load pen.mat


perm = randperm(1200);
dperm = perm(1:30);

% Remember that the pen data is stored in a compressed form...
% In order to reconstruct the original data you need to multiply by 
% the transpose of the proj matrix.
plot_chars(input(dperm,:) * proj')

echo off;
