summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/Graph/segment_time_graph.m
diff options
context:
space:
mode:
authorAlbin <albwa833@student.liu.se>2019-10-25 09:51:28 +0200
committerAlbin <albwa833@student.liu.se>2019-10-25 09:51:28 +0200
commit14fdcb87f762f0c72ccc7324ba9f84625ec370a2 (patch)
treec16487e9de49215445fe51d207c76488af1b1b3b /Kod/bilbana/Graph/segment_time_graph.m
parentb7771e858cb8bb753521792d828d7a5f47d175cd (diff)
downloadtfyy51-14fdcb87f762f0c72ccc7324ba9f84625ec370a2.tar.gz
Bugfix seg_time_graph
Diffstat (limited to 'Kod/bilbana/Graph/segment_time_graph.m')
-rw-r--r--Kod/bilbana/Graph/segment_time_graph.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/Graph/segment_time_graph.m b/Kod/bilbana/Graph/segment_time_graph.m
index 9ee4b8c..5100693 100644
--- a/Kod/bilbana/Graph/segment_time_graph.m
+++ b/Kod/bilbana/Graph/segment_time_graph.m
@@ -13,7 +13,7 @@ divide_by_n = ones(1,seg_time_size(2));
%% Summera seg_time om seg_time ~= 0
for r = 1:seg_time_size(1)
if r == 1
- avr_seg_time(1:seg_time_size(2)) = seg_times(1:seg_time_size(2));
+ avr_seg_time(1,1:seg_time_size(2)) = seg_times(1,1:seg_time_size(2));
else
for c = 1:seg_time_size(2)
x = seg_times(r,c);