![]() |
NormalizePURPOSE
Normalize a GMixture.
SYNOPSIS
function gmC=Normalize(gm)
DESCRIPTION
Normalize a GMixture. Normalize the weights of a Gaussian mixture. All weights are converted to possitive in the range [0,1] and their sum is set to 1. CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 function gmC=Normalize(gm) 0002 % Normalize a GMixture. 0003 % 0004 % Normalize the weights of a Gaussian mixture. All weights are converted 0005 % to possitive in the range [0,1] and their sum is set to 1. 0006 w=abs(gm.w); 0007 gmC=GMixture(w/sum(w),gm.g); 0008 |