display to the 1000th if value less than 1 using std

1 visualización (últimos 30 días)
When I get the std of a vector and it is less than 1, matlab will round to '0.' I need the precise value. Is there a setting option that I can change to allow this?

Respuesta aceptada

Tobias
Tobias el 8 de Abr. de 2013
Editada: Tobias el 8 de Abr. de 2013
digits(d)
Where d is 1 < d < 2^29 + 1
See Variable-precision accuracy for more help

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by