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

1 Ansicht (letzte 30 Tage)
David Cunningham
David Cunningham am 8 Apr. 2013
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Price and Analyze Financial Instruments finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by