Akzeptierte Antwort

Image Analyst
Image Analyst am 3 Mär. 2019

0 Stimmen

Use std():
sd = std(yourDoubleArray(:))

1 Kommentar

If you're using release R2018b or later you can use the 'all' flag to compute the standard deviation of the array as a whole.
std(yourDoubleArray, 0, 'all')

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by