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