set
PURPOSE 
Set method for Gaussian mixtures.
SYNOPSIS 
function gm=set(gm,field,value)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
- size Returns the size of a policy.
This function is called by:
SOURCE CODE 
0001 function gm=set(gm,field,value)
0002
0003
0004
0005
0006
0007 switch field
0008 case 'w'
0009 if size(value,1)==1 && size(value,2)==gm.n
0010 gm.w=value;
0011 else
0012 error('Missmatch size in GMixture set');
0013 end
0014 otherwise
0015 error('Unknown field in GMixture set');
0016 end
|