Why does using the HIST function on single precision data causes all bins to be marked with an asterisk ("*") in MATLAB 7.0 (R14)?
1 view (last 30 days)
Show older comments
When I execute the following commands
v = [2.408996 0.0833915] ;
hist(v)
I obtain a histogram with bins of equal width. Now if I run the following code
v = single([2.408996 0.0833915] );
hist(v)
I observe that an asterisk ("*") appears on each bin, indicating that the bins are not of equal width (though they actually are).
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0 (R14) that causes the bins to be marked as being of unequal widths when using the HIST function on single precision data.
There are no workarounds.
0 Comments
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!