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 visualizzazione (ultimi 30 giorni)
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).

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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.

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by