
C  = (pc_data(:,1));
I  = (pc_data(:,2));
L  = (pc_data(:,3));
G  = (pc_data(:,4));
Tl = (pc_data(:,5));
Tk = (pc_data(:,6));
Tc = (pc_data(:,7));
B  = (pc_data(:,8));
Z  = (pc_data(:,9));

Ct  = detrend(C,1);
It  = detrend(I,1);
Lt  = detrend(L,1);
Gt  = detrend(G,1);
Tlt = detrend(Tl,1);
Tkt = detrend(Tk,1);
Tct = detrend(Tc,1);
Bt  = detrend(B,1);
Zt  = detrend(Z,1);

data_detrend = [Ct It Lt Tct Tlt Zt Tkt Gt Bt];

c_h_obs  = Ct.*100;
i_h_obs  = It.*100;
l_h_obs  = Lt.*100;
g_h_obs  = Gt.*100;
tl_h_obs = Tlt.*100;
tk_h_obs = Tkt.*100;
tc_h_obs = Tct.*100;
b_h_obs  = Bt.*100;
z_h_obs  = Zt.*100;

data_detrend = [c_h_obs i_h_obs l_h_obs tc_h_obs tl_h_obs z_h_obs tk_h_obs g_h_obs b_h_obs];