Edit the code, syntax |)'(| isn't possible.
normalization codes for database?
1 次查看(过去 30 天)
显示 更早的评论
hi What do the following codes ؟
function kvalue=compute_kvalue(data)
v=6.1;
var = (max(data)-min(data))'(max(data)-min(data))/v;
kvalue=zeros(size(data,1),size(data,1),size(data,2));
for i=1:size(data,1)
for j=i:size(data,1)
kvalue(i,j,:)=exp(-(data(i,:)-data(j,:)'(data(i,:)-data(j,:))./var);
kvalue(j,i,:)=kvalue(i,j,:);
end
end
end
its looks that do normalization but How does it work?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!