%
hemo=[...
3.81 1.90;...
2.10 1.03;...
0.79 0.44;...
1.99 1.18;...
1.03 0.62;...
2.07 1.29;...
0.74 0.39;...
3.88 2.30;...
1.43 0.93;...
0.41 0.29];
col_of_ones = ones(10,1);
X = [col_of_ones         hemo(:,1)]; %lipids
Y = hemo(:,2); % cholesterol
[b,bint,r,rint,stats] = regress(Y,X);