| 1 |
function rec_dates = fn_ReadRecessionDates57_01() |
| 2 |
% Recession dates. For some reasons, Matlab code will only take pairs of rec_dates when using rectangle. |
| 3 |
% Note that -1 in the following is for the graph lie in the correct position. |
| 4 |
% For example, 1961+(1-1)/12 means Jan 1961 plotted right at 1961. |
| 5 |
% |
| 6 |
% Copyright (C) 1997-2012 Tao Zha |
| 7 |
% |
| 8 |
% This free software: you can redistribute it and/or modify |
| 9 |
% it under the terms of the GNU General Public License as published by |
| 10 |
% the Free Software Foundation, either version 3 of the License, or |
| 11 |
% (at your option) any later version. |
| 12 |
% |
| 13 |
% It is distributed in the hope that it will be useful, |
| 14 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
% GNU General Public License for more details. |
| 17 |
% |
| 18 |
% If you did not received a copy of the GNU General Public License |
| 19 |
% with this software, see <http://www.gnu.org/licenses/>. |
| 20 |
% |
| 21 |
|
| 22 |
rec_dates=[ |
| 23 |
1957+(7-1)/12 1958+(3-1)/12 |
| 24 |
1960+(3-1)/12 1961+(1-1)/12 |
| 25 |
1969+(11-1)/12 1970+(10-1)/12 |
| 26 |
1973+(10-1)/12 1975+(2-1)/12 |
| 27 |
1980+(1-1)/12 1980+(6-1)/12 |
| 28 |
1981+(6-1)/12 1982+(10-1)/12 |
| 29 |
1990+(6-1)/12 1991+(2-1)/12 |
| 30 |
2001+(2-1)/12 2001+(10-1)/12 |
| 31 |
2007+(12-1)/12 2008+(12-1)/12]; |
| 32 |
|