How to calculate moving standard deviation in a matrix?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi Guys, I have got a matrix :378x9. I need to calculate the moving standard deviation with a window size of 180(starting from row one). Can somebody help me please?
0 commentaires
Réponses (1)
Manolis Michailidis
le 13 Oct 2015
7 commentaires
Manolis Michailidis
le 13 Oct 2015
Modifié(e) : Manolis Michailidis
le 13 Oct 2015
for kk=1:size(X,2) % kk is your column index
s(1:180,kk)=movingstd(X(1:180,kk),180,'f');
end
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!