![]() |
plusPURPOSE
Adds two GMixtures.
SYNOPSIS
function gmOut=plus(gm1,gm2)
DESCRIPTION
Adds two GMixtures. Returns the Gaussian mixture resulting from adding the two input mixtures. CROSS-REFERENCE INFORMATION
This function calls:
SOURCE CODE
0001 function gmOut=plus(gm1,gm2) 0002 % Adds two GMixtures. 0003 % 0004 % Returns the Gaussian mixture resulting from adding the two input 0005 % mixtures. 0006 0007 gmOut.w=[gm1.w gm2.w]; 0008 gmOut.g=[gm1.g gm2.g]; 0009 gmOut.n=gm1.n+gm2.n; 0010 gmOut=class(gmOut,'GMixture'); 0011 |