资源简介

该matlab程序可支持多个BPA融合 可求得冲突系数K 也可适用于多子集命题 程序以计算过程的步骤来编写 可扩展性高

资源截图

代码片段和文件信息

bpa1=[0.1 0.2 0 0 0 0.7];
bpa2=[0.1 0 0 0.1 0 0.8];

       A={[1][2][3][23][123]‘o‘};
       [nm]=size(A);
       for i=1:m   
       [n1(i)m1(i)]=size(A{1i});
       end
       for i=1:m
           j=i+1;
           D(ii)=1;
           B(ii)=0;
           while j<=m
                 k=0;
             for p=1:m1(i)
                 for q=1:m1(j)
                     if A{1i}(p)==A{1j}(q)
                         k=k+1;
                     end
                 end
             end   
             if k==m1(i) 
                 D(ij)=1;
             else
                D(ij)=0;  
             end
             if k==m1(j)
                 D(ji)=1;
             else
            

评论

共有 条评论