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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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).
Respuesta aceptada
MathWorks Support Team
el 27 de Jun. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!