normalization codes for database?

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?

댓글 수: 1

ChristianW
ChristianW 2013년 3월 2일
Edit the code, syntax |)'(| isn't possible.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 3월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by