Upload the Matlab code for equation 7