MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > BUG in histc !!? 

Subject: BUG in histc !!? From: suresh@alberich.psych.nyu.edu (B. Suresh Krishna) Date: 4 Oct, 2001 09:36:21 Message: 1 of 11 
hi, i have spent the last four hours digging deep into a long bit of code in search of an elusive bug, and finally, it seems to me that i have found something that is wrong with matlab's histc function. in the script below, vect is a monotonically increasing vector, and i am trying to find the point where it crosses some value using histc. the function behaves very curiously, as shown below. is this just some silly error on my part (could be, i havent slept for two days), or is this a real bug ? if it is my error, i just cant see what it is. 
This has been fixed in R12 (MATLAB 6.0). Sorry for the inconvenience. 
Subject: BUG in histc !!? From: suresh@alberich.psych.nyu.edu (B. Suresh Krishna) Date: 6 Oct, 2001 18:33:59 Message: 3 of 11 
hi penny, 
Subject: RANT: Mathworks. handles bugs badly From: barkingbrown@yahoo.com (Coconut Shell) Date: 7 Oct, 2001 01:07:27 Message: 4 of 11 
Hi, This is a general rant about how Mathworks handles bugs in its 
Subject: Mathworks. handles bugs badly From: Boyko Stoimenov Date: 7 Oct, 2001 18:18:11 Message: 5 of 11 
Hi Suresh, 
Probably part of the problem with the histc bug fix is that it is a MEXfile and it's just a pain to post all 7 or 8 different 
By the way, it is documented on our web site. A search on histc under the Support tab will turn up mention of it in the MATLAB 6.1 
Penny Anderson wrote: 
Hi Rodrigo, 
Hi Penny, 

No tags are associated with this thread.
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.