• 大小: 1KB
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-01-09
  • 语言: Matlab
  • 标签: matlab  

资源简介

matlab实现证据理论的融合公式-Fusion_new.m
最近刚写的一个用matlab实现证据理论的代码,现阶段能完成两个证据之间的融合;
附件是m文件,具体的使用方法在m文件中有

资源截图

代码片段和文件信息

function [ K FocusMatrix FinalValue ] = Fusion_new( aaValuebbValue )
%UNtitleD Summary of this function goes here
%   Detailed explanation goes here
try 
    size(a2)==size(b2);
catch
    disp(‘输入参数有错误,请检查‘)
    return
end
FocusMatrix =[];
K = 0;
FinalValue =zeros(11);
for i=1:size(a2)
    for j =1:size(b2)
        test_vertor = a(i:) +b(j:);
        if length(find(test_vertor == 2))>=1
            K = K +aValue(i1)*bValue(j1);
            temp_vertor =zeros(1size(a2));
            temp_vertor(1test_vertor==2)=1;
            temp_value = aValue(i1)*bValue(j1);
                  if  isempty(FocusMatrix)
                temp_matrix = [FocusMatrix;t

评论

共有 条评论