+++ /dev/null
-d = csvread("ex10a.csv")(:,2) ./ 1000;
-dmax = max(d);
-dmin = min(d);
-davg = mean(d);
-ddev = std(d);
-plot(d, '@k');
-title("Measurements on jitter");
-xlabel("Number of the measurement");
-ylabel("Time till next measurement in microseconds");
-stepsize = (dmax+dmin)/25;
-text(100, dmax-stepsize, sprintf("Min: %d", dmin));
-text(100, dmax-stepsize*2, sprintf("Mean: %.2f", davg));
-text(100, dmax-stepsize*3, sprintf("Std: %.2f", ddev));
-text(100, dmax-stepsize*4, sprintf("Max: %d", dmax));
-print -dpng "-S1200,1200" ex10ab.png
--- /dev/null
+d = csvread("ex10ab.csv")(:,2) ./ 1000;
+dmax = max(d);
+dmin = min(d);
+davg = mean(d);
+ddev = std(d);
+figure;
+plot(d, '@k');
+title("Measurements on jitter");
+xlabel("Number of the measurement");
+ylabel("Time till next measurement in microseconds");
+stepsize = (dmax+dmin)/25;
+text(100, dmax-stepsize, sprintf("Min: %d", dmin));
+text(100, dmax-stepsize*2, sprintf("Mean: %.2f", davg));
+text(100, dmax-stepsize*3, sprintf("Std: %.2f", ddev));
+text(100, dmax-stepsize*4, sprintf("Max: %d", dmax));
+print -dpng "-S1200,1200" ex10ab.png
+
+d = csvread("ex10d.csv")(:,2);
+dmax = max(d);
+dmin = min(d);
+davg = mean(d);
+ddev = std(d);
+figure;
+plot(d, '@k');
+title("Measurements on interrupt latency via LPT1");
+xlabel("Number of the measurement");
+ylabel("Time till next measurement in nanoseconds");
+stepsize = (dmax+dmin)/25;
+text(100, dmax-stepsize, sprintf("Min: %d", dmin));
+text(100, dmax-stepsize*2, sprintf("Mean: %.2f", davg));
+text(100, dmax-stepsize*3, sprintf("Std: %.2f", ddev));
+text(100, dmax-stepsize*4, sprintf("Max: %d", dmax));
+print -dpng "-S1200,1200" ex10ab.png