Institut de Robòtica i Informàtica Industrial

ComponentsValue

PURPOSE ^

Evaluates a Gaussian mixture component-wise.

SYNOPSIS ^

function v=ComponentsValue(gm,x)

DESCRIPTION ^

  Evaluates 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 INFORMATION ^

This function calls:
  • Value Evaluates a GMixture.
  • Value Evaluation of a Gaussian.
This function is called by:

SOURCE CODE ^

0001 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


Institut de Robòtica i Informàtica Industrial

Generated on Wed 05-Aug-2009 15:05:21 by m2html © 2003