K means image clustering with time series data

6 次查看(过去 30 天)
Hi all,
I am trying to do a clustering in time series using K means. But K means is not supporting high 1D data points. Is there any way I can do the clustering of 10 time series data into 3 different groups using K means?
Thanks in advanced.

采纳的回答

KSSV
KSSV 2020-7-1
Let x be your 1D data. Assuming it column vector.
t = 1:length(x);
t = t';
idx = kmeans([t x],3);
  5 个评论
KSSV
KSSV 2020-7-1
Try converting your series into 10*n matrix.....and use kmeans.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by