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.
  • [get | view] (2009-10-06 18:41:43, 50.3 KB) [[attachment:AWM update 9.pdf]]
  • [get | view] (2008-10-31 11:19:36, 119.4 KB) [[attachment:AWM15UP8.CSV]]
  • [get | view] (2009-10-06 18:41:26, 178.3 KB) [[attachment:AWM16UP9.CSV]]
  • [get | view] (2008-10-31 11:20:50, 50.2 KB) [[attachment:AWMupdate8.pdf]]
  • [get | view] (2008-10-24 18:18:48, 87.0 KB) [[attachment:Base.xls]]
  • [get | view] (2008-10-24 18:19:14, 696.5 KB) [[attachment:BaseRetrop.xls]]
  • [get | view] (2008-10-24 18:27:07, 0.7 KB) [[attachment:DetrendDataSet.m]]
  • [get | view] (2008-10-24 18:26:55, 0.9 KB) [[attachment:MakeData2.m]]
  • [get | view] (2008-10-24 18:25:41, 76.0 KB) [[attachment:amazone.xls]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.