summaryrefslogtreecommitdiff
path: root/code/matlab/analye-perfomance.m
diff options
context:
space:
mode:
Diffstat (limited to 'code/matlab/analye-perfomance.m')
-rw-r--r--code/matlab/analye-perfomance.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/code/matlab/analye-perfomance.m b/code/matlab/analye-perfomance.m
new file mode 100644
index 0000000..75b399b
--- /dev/null
+++ b/code/matlab/analye-perfomance.m
@@ -0,0 +1,14 @@
+%% load data
+perf = load('performance.out');
+perf = perf > 1.0;
+s = length(perf);
+
+%% compute sliding avergae
+ws = 250; % window size
+perf_avg = zeros(s-ws,1);
+for i = 1:(s-ws)
+ perf_avg(i,1) = mean(perf(i:(i+ws),1));
+end
+
+%% plot
+plot(perf_avg); \ No newline at end of file
contact: Jan Huwald // Impressum