clear all
close all

x = load('congov.txt');
time = x(:,1);
con = x(:,2);  % consumption in USA
gov = x(:,3);  % government spendings in Greece

figure
subplot(2,1,1)
plot(time,con)
title('consumption in USA')
subplot(2,1,2)
plot(time,gov)
title('govenrnemt spend. Greece')

c = corrcoef(con,gov)

