www.pudn.com > spectral-matching-algorithms.rar > SCF.m, change:2007-12-28,size:207b


function scm=SCF(t,r) 
% t为目标光谱,r为参考光谱,都为N*1矩阵 
tm=mean(t); 
rm=mean(r); 
tt=t-tm*ones(length(t),1); 
rr=r-rm*ones(length(r),1); 
scm=(tt'*rr)/(norm(tt)*norm(rr)); 
scm=ones(length(scm))-scm;

2018无需申请注册送58体验金