ComponentsValuePURPOSEEvaluates a Gaussian mixture component-wise.
SYNOPSISfunction v=ComponentsValue(gm,x)
DESCRIPTIONEvaluates a Gaussian mixture component-wise. Returns a vector with the weighted value for each component in the mixture evaluated at 'x'. See also Value. CROSS-REFERENCE INFORMATIONThis function calls: This function is called by:SOURCE CODE0001 function v=ComponentsValue(gm,x) 0002 % Evaluates a Gaussian mixture component-wise. 0003 % 0004 % Returns a vector with the weighted value for each component in the 0005 % mixture evaluated at 'x'. 0006 % 0007 % See also Value. 0008 0009 v=gm.w.*cellfun(@(g)Value(g,x),gm.g); 0010 |