abct = [tIghta;tIghtb;tIghtc;tIghtt] abct = 1.0e+004 * Columns 1 through 3 2.614187450296970 2.647752847066399 2.577117412269296 0.475027343316860 0.217690719892920 0.646582218629081 0.004690182422228 0.040799648580344 0.006802788479844 0.000009125723893 0.000009098039886 0.000009123757901 Column 4 2.656855967684253 0.023676121195969 0.014311123844120 0.000009118963744 tightTruePos = GPSCalc([0;0;6370;0],zeros(4,1),abct) tightTruePos = 1.0e+003 * -0.019052999999344 0.011318000000093 6.369999999999642 0.000000100000000 randi([-1,1],4,1) ans = 0 0 1 1 randi([-1,1],4,1) ans = -1 0 0 0 for i=1:15 err(:,i) = GPSCalc([0;0;6370;0],randi([-1,1],4,1),abct); end for j=1:15 tightInfNorm(j) = norm(tightTruePos-err(:,j),inf); end tightInfNorm tightInfNorm = Columns 1 through 3 0.725620990017308 0.446325840288409 0.648205616566166 Columns 4 through 6 0.689963031827574 0.716325437204997 0.725578687378469 Columns 7 through 9 0.425817674037717 0.539542181505336 0.243632724300369 Columns 10 through 12 0.487266519946388 0.539564286755741 0.507764689554278 Columns 13 through 15 0.362805207216311 0.425811928816074 0.182180797586625 max(tightInfNorm) ans = 0.725620990017308 tightErrMagFact = ans/.003 tightErrMagFact = 2.418736633391028e+002