⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diff_sum.m

📁 The goal of SPID is to provide the user with tools capable to simulate, preprocess, process and clas
💻 M
字号:
function [term] = diff_sum(current_data,data,neighbor_vector,a,max_values,min_values)

    term = 0;
    for j = 1:size(neighbor_vector,2)
         term = term + (abs(current_data(a)-data(neighbor_vector(j),a))/(max_values(a)-min_values(a)));
    end;

end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -