root/library/tutorial/arx_test_mex.m
@
299
Revision 274, 356 bytes (checked in by smidl, 16 years ago) |
---|
Line | |
---|---|
1 | M=estimator('arx_mex_test.cfg'); |
2 | ndat = size(M.t,1)-1; |
3 | |
4 | hold off |
5 | plot([M.t(1:ndat,1:2:end) M.r(1:ndat,1)],'-.'); |
6 | hold on |
7 | plot(M.est(1:ndat,:)); |
8 | co = get(gca,'ColorOrder'); |
9 | for i=1:5 |
10 | ind =1:10:ndat; |
11 | h=errorbar(ind,M.est(ind,i),... |
12 | M.est(ind,i)-M.lb(ind,i),M.est(ind,i)-M.ub(ind,i),'.'); |
13 | set(h,'color',co(i,:)); |
14 | end |
15 | |
16 | set(gca,'YLim',[-0.7,2]); |
Note: See TracBrowser
for help on using the browser.