No BSD License  

3.5

3.5 | 2 ratings Rate this file 15 Downloads (last 30 days) File Size: 5.56 KB File ID: #8793

Plot_GM

by

 

22 Oct 2005 (Updated )

Generate ellipse and landscape plots of Gaussian mixture.

| Watch this File

File Information
Description

A reviewer of my EM_GM code suggests that it would be nice to separate the Gaussian mixture (GM) plot function from the code, so that it can be used alone.

The Plot_GM function includes input verifications, 1D and 2D plots of GM. For 2D, it can be controlled to plot ellipses and/or landscapes of GM. It has detail descrptions of the inputs.

Please contact me if you find any bug.

Acknowledgements

Em Gm inspired this file.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
06 Jun 2007 Phong vO

I use your code in Bayes Classifier.
With my data, the Log Likelihood is NaN and Covariance matrix is singular --> det(Cov) = 0
So I can't process futher.
Please show me how to deal this problem
Thank you

08 Aug 2006 Sameer K

Works great!
I wanted to display the ellipses superimposed on a 2D image, so just modifed the code a bit to pass a figure handle as input parameter. Also, having the color of the ellipse as an optional input parameter will be useful.

Contact us