x=y1v03;
y=y2v03;
 
mdlpred = fitlm(x,y); %returns a linear regression model of the responses y, fit to the data matrix X.
anova(mdlpred,'summary'); %test fit by anova
figure;plot(mdlpred);title('mdle2 pred')

[totalClark, percentClark] = clarke(x,y);
dif = x-y;
figure; plot(dif)

[N M] = size(x);
m=[1:N];
m=m';
figure; plot(m,x,'-ro',m,y,'-bo')