精选优质文档-倾情为你奉上误差理论与数据处理作业第一章Matlab代码:%题1-5%180度2分换算为clear all;clc;test5 = 180 + 2/60/60 ;absoluteError5 = (180 - test5) oppositeError5 = absoluteError5 / test5 * 100 % %1-7absouluteError7 = 100.2 -100.5 oppositeError7 = absouluteError7 / 100.5 * 100 %题目1-14比较测量方式的精度L1 = 110;L2 = 110;testError1 = 0.011;testError2 = 0.009;L3 = 150;testError3 = 0.012;%相对误差越小则越精确oppositeError1 = testError1 / L1;oppositeError2 = testError2 / L2;oppositeError3 = t