# How to calculate moving standard deviation in a matrix?

6 views (last 30 days)

Show older comments

##### 0 Comments

### Answers (1)

Manolis Michailidis
on 13 Oct 2015

##### 7 Comments

Manolis Michailidis
on 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

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!