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:
hist

Subject: hist

From: shah baba

Date: 16 Jan, 2010 22:52:02

Message: 1 of 2

hi,
[x, bin]=histc(data,region)
say i have
x=[1,0,...,0,98,0,...1]
bin=[1,98,98,98,98,98,113]

max(x)=5 and it corresponds to 98.
how i 9can get ans=98
regards,
shah

Subject: hist

From: ImageAnalyst

Date: 16 Jan, 2010 23:35:51

Message: 2 of 2

On Jan 16, 5:52 pm, "shah baba" <shahb...@gmx.de> wrote:
> hi,
> [x, bin]=histc(data,region)
> say i have
> x=[1,0,...,0,98,0,...1]
> bin=[1,98,98,98,98,98,113]
>
> max(x)=5 and it corresponds to 98.
> how i 9can get ans=98
> regards,
> shah

------------------
Huh???? Did you actually read the help for histc()?

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