%% Make 1-min file of coefficients 
% from 5-min avaraged files
%  
%%

function make_coeff_1min;


    % load coefficient files
    load('Fi_year.mat');
    load('ab_year.mat');

    % interpolates the coefficients to 1-minute resolution
    coeff.f = interp(Fi_year,5);
    coeff.a = interp(ab_year.a,5);
    coeff.b = interp(ab_year.b,5);
    
    %save all coeff to file
    save('coeff.mat','coeff');
