From 9b4f8212b1d86fb5263009b3d2ad48012048e132 Mon Sep 17 00:00:00 2001 From: Albin Date: Sat, 19 Oct 2019 23:15:07 +0200 Subject: Klar med plottar --- Kod/bilbana/Graph/graphs_test.m | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Kod/bilbana/Graph/graphs_test.m (limited to 'Kod/bilbana/Graph/graphs_test.m') diff --git a/Kod/bilbana/Graph/graphs_test.m b/Kod/bilbana/Graph/graphs_test.m new file mode 100644 index 0000000..3a2a2e5 --- /dev/null +++ b/Kod/bilbana/Graph/graphs_test.m @@ -0,0 +1,11 @@ +%% Data needed +car1.seg_times = [3.9,1.1,2.2,1.8,1.4,3.9,1.5,3.4,1.4; + 4.2,1.1,2.2,1.8,1.4,3.4,1.5,3.4,1.4; + 3.2,1.1,2.2,1.8,1.4,3.2,1.5,3.4,1.4; + 4.0,1.4,2.2,1.8,1.4,3.4,1.5,3.4,1.4; + 4.0,1.1,2.2,1.8,1.4,3.6,1.5,3.4,1.4; + 4.1,1.1,2.2,1.8,1.4,3.8,1.5,3.4,1.4]; +car1.lap_times = [14.1,13.8,14.15,13.9,14.1,14]; +ref_lap_time = 14; +%% Actual test +graphs(car1.lap_times,ref_lap_time,car1.seg_times,1) \ No newline at end of file -- cgit v1.2.1