clear
close all
clc

% File name
filename = 'cfnai.xls';

% Load data 
dum = importdata(filename,','); 

% create numerical dates
first_year = 1967;
first_month = 3;

final_year=2024;
final_month= 11;

% Numerical dates (monthly) are of the form YEAR+MONTH/12
% e.g. March 1970 is represented as 1970+2/12
% Dates go from 1960:01 to final_year:final_month 
dates_num_cfnai = [first_year+(first_month-1)/12:1/12:final_year+(final_month-1)/12]';

cfnai = dum.data(:,1);

% save data to MAT file
save cfnai_2024 cfnai dates_num_cfnai