MATLAB Answers

K means image clustering with time series data

30 views (last 30 days)
Atreyee Mondal
Atreyee Mondal on 1 Jul 2020
Commented: Atreyee Mondal on 1 Jul 2020
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.

Accepted Answer

KSSV
KSSV on 1 Jul 2020
Let x be your 1D data. Assuming it column vector.
t = 1:length(x);
t = t';
idx = kmeans([t x],3);
  5 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!