“…The DVE splitting method can be enabled or disabled based on the user's preference. (repmat(cos(acos(dot(ispn_dir,iedge_dir,2))pi/2),1,2)',[],1); % coeff_o=coeff; i= [1,1,1,2,2,3,3,3,3,3,3,4,4,4,4,5,5,5,5,5,5,6,6,6,6,7,7,7,7,7,7,8,8,8 ,8,9,9,9,10,10,11,11,11,11,12,12,12,12]'+(0:12:(n_pair-1)*12);i=i(:); j= [1,2,3,2,3,1,2,3,4,5,6,2,3,5,6,4,5,6,7,8,9,5,6,8,9,7,8,9,10,11,12,8,9,11,12,10,11,12,11,12,1,3,4,6,7,9,10,12]'+(0:12:(n_pair-1)*12);j=j(:); n_idve = reshape(repmat(cross(ispn_dir,iedge_dir),1,2)',3,[])';n_idve=n_idve./s um(n_idve.^2,2).^0.5; a_roll = -atan2(n_adve(:,2),n_adve(:,3)); a_pitch = asin(n_adve(:,1)); aloc_dir = fcnGLOBSTAR((adve (1:4:end-3,:) +adve(2:4:end-2, o=(1:4)+...…”