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

New to MATLAB?

Thread Subject:

Subject: histc

From: shah baba

Date: 16 Jan, 2010 22:25:20

Message: 1 of 1

i have a vector containing n elements. Mean and std of data is unknown. I want 2 segment data on basis of clustering.
h=[0 97.9501 97.2311 97.6068 97.4860 97.8913 112.0000];
[n,]=histc(h,[min(h):1:max(h)]) %%%% assuming std 1
i got 5 elements which are grouped together.
How can I have cluster my data on basis of bin. I need to define confidence inetrval also.

Tags for 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