Effacer les filtres
Effacer les filtres

which function can calculate standard deviation with weights?

2 vues (au cours des 30 derniers jours)
vx2008
vx2008 le 20 Jan 2017
Réponse apportée : vx2008 le 23 Jan 2017
I know function "std" can get an array's standard deviation;
but now I want to calculate standard deviation with certain weights for each number of array; for example,
X=[1,2,3,4,5]; and weights=[0.1,0.3,0.1,0.3,0.1];
so is there the built-in function in Matlab?

Réponse acceptée

Walter Roberson
Walter Roberson le 20 Jan 2017

Plus de réponses (1)

vx2008
vx2008 le 23 Jan 2017
thank you very much;

Catégories

En savoir plus sur Mathematics 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