CropPURPOSELimits all means to be inside the given space.
SYNOPSISfunction gmOut=Crop(gm,Sp)
DESCRIPTIONLimits all means to be inside the given space. Crops all the elements in the mixture so that their mean is inside the given continous space, 'Sp'. See also @Gaussian/Crop CROSS-REFERENCE INFORMATIONThis function calls:
SOURCE CODE0001 function gmOut=Crop(gm,Sp) 0002 % Limits all means to be inside the given space. 0003 % 0004 % Crops all the elements in the mixture so that their mean is inside the 0005 % given continous space, 'Sp'. 0006 % 0007 % See also @Gaussian/Crop 0008 0009 c=cell(1,gm.n); 0010 for i=1:gm.n 0011 c{i}=Crop(gm.g{i},Sp); 0012 end 0013 gmOut=GMixture(gm.w,c); |