1 function [ g_weight ] = gauss_weight(sig)
\r
2 %computes normalizing constant for mixture density
\r
4 % radius is calculated for the the distance at which the gaussian goes to
\r
5 % machine precision 10^-16
\r
6 radius = round(sig*sqrt(32)*log(10))+1;
\r
11 w_sum = w_sum + gauss_part(radius,radius,i,j,sig);
\r