Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
cluster analysis

Subject: cluster analysis

From: Mike

Date: 18 Sep, 2013 02:46:43

Message: 1 of 1

Hi
I have a series of sorted number, say
A=[1 25 26 27 28 40 42 50];

I'd like to cluster it clusters. For every cluster, the difference of max and min is within a given specified interval, i.e. max-min<=interval. Say, interval equals 5, then results are
cluster 1: 25 26 27 28
cluster 2: 40 42

I tried pdist(A), but found very hard to go on.
I am wondering if one can given me suggestions.

Thank you very in advance

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us