From 60b3e4864a41f5c48193010abfe66b3d87f3889e Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 16 Apr 2019 21:53:47 +0000 Subject: [PATCH] - update git-svn-id: http://moon:8086/svn/projects/HendiControl@249 fda53097-d464-4ada-af97-ba876c37ca34 --- matlab/results_sprung.m | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/matlab/results_sprung.m b/matlab/results_sprung.m index ff0c8f8..6e4a6b2 100644 --- a/matlab/results_sprung.m +++ b/matlab/results_sprung.m @@ -27,7 +27,15 @@ function results_sprung (filename) x = load(filename); Npad = 600; t = [-(Npad-1:-1:0)/60 x(:,1)']; - v1 = [repmat(x(1,2), 1, Npad) x(:,2)']; - plot (t, v1); grid + temp_raw = [repmat(x(1,2), 1, Npad) x(:,2)']; + temp_filtered = [repmat(x(1,3), 1, Npad) x(:,3)']; + power = [repmat(x(1,4), 1, Npad) x(:,4)']; + error = [repmat(x(1,5), 1, Npad) x(:,5)']; + heatrate_filtered = [repmat(x(1,6), 1, Npad) x(:,6)']; + + subplot(2,1,1) + plot (t, power); grid + subplot(2,1,2) + plot (t, heatrate_filtered); grid endfunction