Defines p(s|o).
Instantiates the observation model for a particular observation 'o'.
In this case, the output is a vector with one value
for each state. The value for each state is directly obtained from the
cell array of vectors (one for each observation) given in the
constructor.
The output is not normalized.
See also DS_DO_ObsModel.
0001 function p=GetObsModelFixedO(OM,o)
0002 % Defines p(s|o).
0003 %
0004 % Instantiates the observation model for a particular observation 'o'.
0005 % In this case, the output is a vector with one value
0006 % for each state. The value for each state is directly obtained from the
0007 % cell array of vectors (one for each observation) given in the
0008 % constructor.
0009 %
0010 % The output is not normalized.
0011 %
0012 % See also DS_DO_ObsModel.
0013
0014 p=OM.p{o};
0015