Attachment 'MakeData2.m'
Download 1 % C I Y PI R z W
2 data = xlsread('amazone');
3 C = data(:,1);
4 I = data(:,2);
5 Y = data(:,3);
6 pi = data(:,4);
7 R = data(:,5);
8 z = data(:,6);
9 w = data(:,7);
10
11 %mean(R)
12 %mean(pi)
13 %mean(pi)/mean(R)
14
15
16 % disp('C')
17 C = 100*DetrendDataSet(C,1,1);
18 % disp('I')
19 I = 100*DetrendDataSet(I,1,1);
20 % disp('Y')
21 [Y,AY] = DetrendDataSet(Y,1,1);
22 Y=100*Y;
23 % disp('pi')
24 pi = 100*DetrendDataSet(pi,1,1);
25 % disp('R')
26 R = 100*DetrendDataSet(R,1,1);
27 % disp('w')
28 w = 100*DetrendDataSet(w,1,1);
29 % disp('z')
30 z = 100*DetrendDataSet(z,1,1);
31
32 figure('Name','consommation')
33 plot(data(:,1))
34
35 figure('Name','investissement')
36 plot(data(:,2))
37
38 figure('Name','produit')
39 plot(data(:,3))
40
41 figure('Name','inflation')
42 plot(data(:,4))
43
44 figure('Name','taux d''intérêt')
45 plot(data(:,5))
46
47 figure('Name','salaire réel')
48 plot(data(:,7))
49
50 %figure('Name','Taux d''intérêt réel 2')
51 %plot(R(1:end-1)-pi(2:end));
52
53 figure('Name','TUC')
54 plot(data(:,6));
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.