![]() |
ComposePURPOSE
Composes a Gaussian mixture with a Gaussian.
SYNOPSIS
function gmOut=Compose(gm,g)
DESCRIPTION
Composes a Gaussian mixture with a Gaussian. Convolutes all the components of a Gaussian mixture with a given gaussian, 'g'. In other words, adds the given Gaussian 'g' to the Gaussians defining the mixture. See also @Gaussian/plus. CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 function gmOut=Compose(gm,g) 0002 % Composes a Gaussian mixture with a Gaussian. 0003 % 0004 % Convolutes all the components of a Gaussian mixture with a given 0005 % gaussian, 'g'. 0006 % In other words, adds the given Gaussian 'g' to the Gaussians defining 0007 % the mixture. 0008 % 0009 % See also @Gaussian/plus. 0010 0011 gmOut=gm; 0012 gmOut.g=cellfun(@(g2)(g+g2),gm.g,'UniformOutput',false); |