function[z2]=subz2(zs2,zr2,zl2,m,p) z2=zeros(6); z2(1,1)=zs2; z2(2,2)=zr2; z2(3,3)=m*zl2; z2(4,4)=p*zl2; z2(5,5)=(1-m)*zl2; z2(6,6)=(1-p)*zl2;