clear all; close all;
files = dir('*.mat');
Nfiles = length(files);

% Format: [k Etraining Etest]
results = zeros(Nfiles,3);
for F = 1:Nfiles
    load(files(F).name);
    results(F,:) = [k Etr Ete];
end
subplot(121);
plot(results(:,1),results(:,2));

subplot(122);
plot(results(:,1),results(:,3));