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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Price and Analyze Financial Instruments in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by