k-means and mean shift algorithm implementation (matlab version).
- k-means
left fig: original data; right fig: clustered data.
- mean-shift
left fig: original data; right fig: clustered data.
If the code presented helps u, it literally is a delight to me.