.041Р0.056Р-0.007Р0.03Р0.057Р-0.026Р0.021Р-0.042Р-0.025Р0.002Р0.019Р`x=1+2+3+4+5+6+7+8+9+10+11+1212=6.5Р`y=2.12+2.11+2.21+2.15+2.19+2.22+2.14+2.19+2.13+2.15+2.18+2.2012=2.17Р a=(1-6.5)(2.12-2.17)+(2-6.5)(2.11-2.17)+(3-6.5)(2.21-2.17)+(4-6.5)(2.15-2.17)+(5-6.5)(2.19-2.17)+(6-6.5)(2.22-2.17)+(7-6.5)(2.14-2.17)+(8-6.5)(2.19-2.17)+(9-6.5)(2.13-2.17)+(10-6.5)(2.15-2.17)+(11-6.5)(2.18-2.17)+(12-6.5)(2.20-2.17)/(1-6.5)^2 +(2-6.5)^2+(3-6.5)^2+(4-6.5)^2+(5-6.5)^2+(6-6.5)^2+(7-6.5)^2+(8-6.5)^2+(9-6.5)^2+(10-6.5)^2+(11-6.5)^2+(12-6.5)^2Р=0.003Рb=2.17-0.003*6.5=2.145Р拟合直线:y’=0.003x+2.145Рx=1:1:12;Рy=[2.12 2.11 2.21 2.15 2.19 2.22 2.14 2.19 2.13 2.15 2.18 2.20];Рplot(x,y,'o',x,0.003*x+2.145,'-')Р线性度:L’=Lmax/Yfs=0.057/2.22=0.026Р式中:РLmax 为拟合直线最大偏差РYfs 为全量程Р根据此方法计算出另外四组的线性度最后取平均值。Р最后算出来的平均值小于0.1则垂直度满足要求。