Add lab session 3
Handed in on 27 Oct 2020.
Change-Id: I00ae5f8e3910fa1ba0b2579e88894f3b5292fb1f
diff --git a/p3/informe/generategraphs.bash b/p3/informe/generategraphs.bash
new file mode 100644
index 0000000..415851f
--- /dev/null
+++ b/p3/informe/generategraphs.bash
@@ -0,0 +1,15 @@
+#!/bin/bash
+experiments=( "exp3" "exp4" )
+
+for exp in "${experiments[@]}"; do
+ mkdir -p "../output/$exp"
+ ../fase1.gnu "../data/$exp/fase1.dat" "../output/$exp/fase1"
+
+ for file in ../data/$exp/fase2*; do
+ basename=$(basename $file)
+ basenamewoext="${basename%.dat}"
+ ../fase2.gnu $file "../output/$exp/$basenamewoext"
+ done
+done
+
+../regressio.gnu "../informe/table.txt" "../output/regressio"