9.2 MATLAB Functions Used 179 Next,the [A matrix is calculated using six calls to the MATLAB function Amatrix as follows: EDU>>A zeros(3,3) A= 0 0 0 0 0 0 0 0 0 EDU>>A Amatrix(A,Qbar1,z1,z2) A= 13.6723 4.7575 14.2977 4.7575 2.9031 4.3551 7.1488 2.1776 9.2705 EDU>>A Amatrix(A,Qbar2,z2,z3) A= 27.3446 9.5151 0.0000 9.5151 5.8062 0.0000 0.0000 0.0000 18.5410 EDU>>A Amatrix(A,Qbar3,z3,z4) A= 50.7068 9.9674 0.0000 9.9674 7.6300 0.0000 0.0000 0.0000 19.2010 EDU>>A =Amatrix(A,Qbar4,z4,z5) A= 74.0690 10.4197 0.0000 10.4197 9.4537 0.0000 0.0000 0.0000 19.8610 EDU>>A Amatrix(A,Qbar5,z5,z6) A= 87.741315.1772-14.2977 15.1772 12.3568 -4.3551 -7.1488 -2.1776 29.13159.2 MATLAB Functions Used 179 Next, the [A] matrix is calculated using six calls to the MATLAB function Amatrix as follows: EDU>> A = zeros(3,3) A = 000 000 000 EDU>> A = Amatrix(A,Qbar1,z1,z2) A = 13.6723 4.7575 14.2977 4.7575 2.9031 4.3551 7.1488 2.1776 9.2705 EDU>> A = Amatrix(A,Qbar2,z2,z3) A = 27.3446 9.5151 0.0000 9.5151 5.8062 0.0000 0.0000 0.0000 18.5410 EDU>> A = Amatrix(A,Qbar3,z3,z4) A = 50.7068 9.9674 0.0000 9.9674 7.6300 0.0000 0.0000 0.0000 19.2010 EDU>> A = Amatrix(A,Qbar4,z4,z5) A = 74.0690 10.4197 0.0000 10.4197 9.4537 0.0000 0.0000 0.0000 19.8610 EDU>> A = Amatrix(A,Qbar5,z5,z6) A = 87.7413 15.1772 -14.2977 15.1772 12.3568 -4.3551 -7.1488 -2.1776 29.1315