Institut de Robòtica i Informàtica Industrial

GetObsModelFixedO

PURPOSE ^

Defines p(o|s) for a fixed 'o'.

SYNOPSIS ^

function p=GetObsModelFixedO(OM,o)

DESCRIPTION ^

   Defines p(o|s) for a fixed 'o'.

   Instantiates the observation model for a particular observation 'o'.
   We use the fact that p(o|s)=p(o,s)/p(s) and we assume a uniform
   distribution in 's'.

   The output is not normalized.

   See also CS_CO_ObsModel.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function p=GetObsModelFixedO(OM,o)
0002 %   Defines p(o|s) for a fixed 'o'.
0003 %
0004 %   Instantiates the observation model for a particular observation 'o'.
0005 %   We use the fact that p(o|s)=p(o,s)/p(s) and we assume a uniform
0006 %   distribution in 's'.
0007 %
0008 %   The output is not normalized.
0009 %
0010 %   See also CS_CO_ObsModel.
0011 
0012   ps=UniformProbability(OM.S);
0013   p=OM.p{o}/ps;
0014


Institut de Robòtica i Informàtica Industrial

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