- extendend results output

git-svn-id: http://moon:8086/svn/matlab/trunk@105 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2018-12-15 09:24:18 +00:00
parent c3a4e49a06
commit c19a58c605
+11 -2
View File
@@ -25,8 +25,17 @@
function garage_results()
y = load("/home/jens/garage_y.dat", '-ascii');
data = load("/home/jens/garage_y.dat", '-ascii');
bits = load("/home/jens/garage_bits.dat", '-ascii');
plot(y(:,1), y(:,2), bits(:,1), bits(:,2), 'xr'); grid;
t = data(:,1);
y = data(:,2);
vthr = data(:,3);
vcorr = data(:,4);
subplot(2, 1, 1)
plot(t, y, 'o-', bits(:,1), bits(:,2), 'xr', t, vthr, '-y'); grid;
subplot(2, 1, 2)
plot(t, vcorr, '-b'); grid;
endfunction