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

1 view (last 30 days)
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?

Accepted Answer

Tobias
Tobias on 8 Apr 2013
Edited: Tobias on 8 Apr 2013
digits(d)
Where d is 1 < d < 2^29 + 1
See Variable-precision accuracy for more help

More Answers (0)

Community Treasure Hunt

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

Start Hunting!