Revision 706, 0.8 kB
(checked in by smidl, 15 years ago)
|
eol-native
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | function merg_2a(fname) |
---|
2 | itload(fname); |
---|
3 | |
---|
4 | Mm=Mm(1:99,:); |
---|
5 | P1m=P1m(1:99,:); |
---|
6 | P2m=P2m(1:99,:); |
---|
7 | T=T(1:99,:); |
---|
8 | |
---|
9 | |
---|
10 | |
---|
11 | figure(1) |
---|
12 | subplot(2,2,1) |
---|
13 | hold off |
---|
14 | plot(T(:,1),':'); |
---|
15 | hold on |
---|
16 | plot(Mm(:,1),'--','LineWidth',2); |
---|
17 | plot(P1m(:,1),'--'); |
---|
18 | plot(P2m(:,1),'-'); |
---|
19 | title('parameter a and its estimates') |
---|
20 | |
---|
21 | subplot(2,2,2); |
---|
22 | hold off |
---|
23 | plot(T(:,2),':'); |
---|
24 | hold on |
---|
25 | plot(Mm(:,2),'--','LineWidth',2); |
---|
26 | plot(P1m(:,2),'--'); |
---|
27 | title('parameter b and its estimates') |
---|
28 | |
---|
29 | subplot(2,2,3) |
---|
30 | hold off |
---|
31 | plot(T(:,3),':'); |
---|
32 | hold on |
---|
33 | plot(Mm(:,4),'--','LineWidth',2); |
---|
34 | plot(P2m(:,2),'-'); |
---|
35 | xlabel('time '); |
---|
36 | title('parameter c and its estimates') |
---|
37 | |
---|
38 | subplot(2,2,4) |
---|
39 | hold off |
---|
40 | plot(T(:,4),':'); |
---|
41 | hold on |
---|
42 | plot(Mm(:,3),'--','LineWidth',2); |
---|
43 | plot(P1m(:,3),'--'); |
---|
44 | plot(P2m(:,3),'-'); |
---|
45 | title('parameter \sigma^2 and its estimates') |
---|
46 | xlabel('time '); |
---|