How can I create a vector of rolling Standard Deviations
Show older comments
Hi !
I'am sure this is an easy question for most of you...
I have a timeseries 'T' and I wanted to convert this into a vector 'V' of rolling Standard deviations. So every element of 'V' is the Std of the previous 30 elements of 'T'. The first thirty elements of 'V' are NaN then, right?
Could someone pleas help me with this problem?
Thanks, Nico
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Collections in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!