The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Contouring gaussian distributions from KMEANS
Replies: 1   Last Post: Nov 11, 2010 4:02 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Mike Hoversten

Posts: 13
Registered: 10/27/06
Contouring gaussian distributions from KMEANS
Posted: Nov 11, 2010 11:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

When I use Kmeans to generate clusters I have the means and the cluster indexes, I then calculate the Covariance's from the clusters. I want to put the means and Covariances into a gmdistribution object so that I can call ezcontour to contour the distributino over the scatter plot. However, when I try to change the values of elements of the gmdistribution object (obj1) as,1)=4 for example, I get:
??? Error using ==> gmdistribution.subsasgn at 8
Subscripted assignments are not allowed.

If I cant modify elements of an object how do I build an object so I can contour the clusters?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.