diff --git a/ex6/gaussianKernel.m b/ex6/gaussianKernel.m index 5aa2fec..435a6fa 100644 --- a/ex6/gaussianKernel.m +++ b/ex6/gaussianKernel.m @@ -16,11 +16,8 @@ sim = 0; % % - - - - +sim = exp(-dot(x2-x1,x2-x1)/(2*sigma^2)); % ============================================================= - + end