ValuePURPOSEEvaluates a GMixture.
SYNOPSISfunction v=Value(gm,x)
DESCRIPTIONEvaluates a GMixture. Evaluates the Gaussian mixture 'gm' on a given point, 'x'. CROSS-REFERENCE INFORMATIONThis function calls: This function is called by:
SOURCE CODE0001 function v=Value(gm,x) 0002 % Evaluates a GMixture. 0003 % 0004 % Evaluates the Gaussian mixture 'gm' on a given point, 'x'. 0005 v=0; 0006 for i=1:gm.n 0007 v=v+gm.w(i)*Value(gm.g{i},x); 0008 end 0009 |