root/library/tutorial/arx_test_mex.m @ 299

Revision 274, 356 bytes (checked in by smidl, 16 years ago)

LibraryTutorial?

Line 
1M=estimator('arx_mex_test.cfg');
2ndat = size(M.t,1)-1;
3
4hold off
5plot([M.t(1:ndat,1:2:end) M.r(1:ndat,1)],'-.');
6hold on
7plot(M.est(1:ndat,:));
8co = get(gca,'ColorOrder');
9for 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,:));
14end
15
16set(gca,'YLim',[-0.7,2]);
Note: See TracBrowser for help on using the browser.