Backslash or left matrix divide
Backslash or left matrix divide
used to evaluate the approximation perforance
43
dist = 1/(
sqrt
(2*pi)*sigN).*
exp
( sum(( ([I( : ), J( : )] - repmat(ri, totalW,1)) .^2) ,2)/(-2*sigN)) * etaN;
和lecture notes上的算法不一样