standard deviation array double

6 vues (au cours des 30 derniers jours)
Guido Pastore
Guido Pastore le 3 Mar 2019
Commenté : Steven Lord le 3 Mar 2019
How to make the standard deviation of a double array??

Réponse acceptée

Image Analyst
Image Analyst le 3 Mar 2019
Use std():
sd = std(yourDoubleArray(:))
  1 commentaire
Steven Lord
Steven Lord le 3 Mar 2019
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')

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by