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

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

0 votos

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 Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by