how to calculate variance of a signal after it reaches a steady state value...
Show older comments
The signal for which the variance is to be calculated is in the base workspace in timeseries format. i want to calculate the variance only after 0.5 seconds. How to do it?
3 Comments
Cedric
on 29 Sep 2013
The variance of a time series at steady-state? Well, what is your definition of steady-state?
Vidhya Dharshini
on 29 Sep 2013
Image Analyst
on 29 Sep 2013
firstIndex = find(speed >= 20000, 1, 'first');
theVariance = var(speed(firstIndex : end));
Accepted Answer
More Answers (0)
Categories
Find more on Time Series in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!