Main Content

Gaussian Mixture Distribution

Fit, evaluate, and generate random samples from Gaussian mixture distribution

A Gaussian mixture distribution is a multivariate distribution that consists of multivariate Gaussian distribution components. Each component is defined by its mean and covariance, and the mixture is defined by a vector of mixing proportions. Create a distribution object gmdistribution by fitting a model to data (fitgmdist) or by specifying parameter values (gmdistribution). Then, use object functions to perform cluster analysis (cluster, posterior, mahal), evaluate the distribution (cdf, pdf), and generate random variates (random).


expand all

fitgmdistFit Gaussian mixture model to data
gmdistributionCreate Gaussian mixture model
cdfCumulative distribution function for Gaussian mixture distribution
clusterConstruct clusters from Gaussian mixture distribution
mahalMahalanobis distance to Gaussian mixture component
pdfProbability density function for Gaussian mixture distribution
posteriorPosterior probability of Gaussian mixture component
randomRandom variate from Gaussian mixture distribution