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 vue (au cours des 30 derniers jours)
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).

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by