Index: mttroot/mtt/lib/rep/ident_rep.sh ================================================================== --- mttroot/mtt/lib/rep/ident_rep.sh +++ mttroot/mtt/lib/rep/ident_rep.sh @@ -108,11 +108,11 @@ figure(1); title("Comparison of data"); xlabel("t"); ylabel("y"); [N,M] = size(Y); - plot(t,Y(:,M),"1;Estimated;", t,y,"3;Actual;"); + plot(t,Y(:,M-n_y+1:M),"1;Estimated;", t,y,"3;Actual;"); figfig("${sys}_ident_comparison"); ## Create a table of the parameters [n_par,m_par] = size(i_par); fid = fopen("${sys}_ident_par.tex", "w");