about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/KPMstats/normal_coef.m
blob: a185491e3674932db1d2a4bb55cdcb9644311332 (plain)
1
2
3
4
5
6
7
function c = normal_coef (Sigma)
% NORMAL_COEF Compute the normalizing coefficient for a multivariate gaussian.
% c = normal_coef (Sigma)

n = length(Sigma);
c = (2*pi)^(-n/2) * det(Sigma)^(-0.5);