[~, ~, raw, dates] = xlsread('date.xlsx','final','A2:Q60','',@convertSpreadsheetExcelDates);
raw = raw(:,[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]);
dates = dates(:,1);

data = reshape([raw{:}],size(raw));

VarName1 = datetime([dates{:,1}].', 'ConvertFrom', 'Excel', 'Format', 'dd/MM/yyyy');
pi = (data(:,1));
pi_p = (data(:,2));
pi_ex = (data(:,3));
pi_imp = (data(:,4));
pi_f=pi_imp;
y = (data(:,5));
y_n = hpfilter(y,1600);
c = (data(:,6));
c_n = hpfilter(c,1600);
ex= (data(:,7));
imp=(data(:,8));
nx= (ex-imp);
i = demean(data(:,9));
r_nat=hpfilter(i-pi_p,1600);
er = (data(:,10));
u = (data(:,11));
l = (data(:,12));
n = (data(:,13));
n_n= hpfilter(n,1600);
w = (data(:,14));
pi_w = w(+1)-w;
omega=data(:,15);
omega_n= hpfilter(omega,1600);
s=data(:,16);


clearvars data raw dates;