How to implement one dimensional clustering

hello,
the attached figure is plotted SNR Vs subcarrier.
it clearly indicate two separate value cluster for each x axis point.
the X axis have 30 subcarrier, i want to find two cluster for each subcarrier.
can i use K means clustering?? how to use K means clustering in one dimention??
My final target is to display clustered value in form of second image.

Answers (0)

Asked:

on 11 Apr 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!