106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
## Do some plots
figure(1);
title("Comparison of data");
xlabel("t");
ylabel("y");
[N,M] = size(Y);
plot(t,Y(:,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");
fprintf(fid,"\\\\begin{table}[htbp]\\n");
fprintf(fid," \\\\centering\\n");
|
|
|
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
## Do some plots
figure(1);
title("Comparison of data");
xlabel("t");
ylabel("y");
[N,M] = size(Y);
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");
fprintf(fid,"\\\\begin{table}[htbp]\\n");
fprintf(fid," \\\\centering\\n");
|