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?

 채택된 답변

Tobias
Tobias 2013년 4월 8일
편집: Tobias 2013년 4월 8일

0 개 추천

digits(d)
Where d is 1 < d < 2^29 + 1
See Variable-precision accuracy for more help

추가 답변 (0개)

카테고리

Community Treasure Hunt

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

Start Hunting!

Translated by