%% Temple university CIS 2033
% A modern Introduction to Probability and Statistics
% Chapter 10: Covariance and correlation
%
% Author: Djordje Gligorijevic
% email: gligorijevic@temple.edu
%
% Special thanks to Min Xiao (http://astro.temple.edu/~tud09663/index.html)
% for given examples and ideas for lab examples.

%% Excercise 1: load the demo5.mat
% 1.1) compute the covariance between each column of X and Y;
% 1.2) compute the correlation coefficient between each column of X and Y;


%% Excercise 2: load station precipitation data
% 2.1) Calculate covariance between first 5 stations in the dataset
% 2.2) Plot correlation matrix of first 5 stations in the dataset using the
% corrplot function in MATLAB
