Question: Q 1 . Use data.txt , which is posted under Course Materials. The first row of data.txt is the description for each column. Creat the

Q1. Use data.txt, which is posted under "Course Materials". The first row of data.txt is the description for each column. Creat the following figure via the steps decribed in (1)(8) below. You need to submit only the final figure in one page. There is no need to attach your matlab files.
(1) Compute the annual inflation rates for 2000.52013.5 by taking log difference of CPI. That is, In flation t=[()t)t-12.
(2) Compute the growth rates for 2000.52013.5 by taking log difference of Production Index (SA). That is, Growth ht=100[ln(IPt)-ln(IPt-12)].157-3035], and [0101] for each panel.
(4) The fontsize is 15 for the title, 10 for the ylabel, and 14 for the text inside the last panel.
(5) The linewidth is 1 in the first panel and 3 in the second panel.
(6) If needed, you can rotate the ylable, for example, by a command, ylabel('Percent', 'rot',90);
(7) Xtick is marked for January.
(8) Use box on/off, grid on/off wherever necessary.
Q 1 . Use data.txt , which is posted under

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!