remove outliers form timeseries
Afficher commentaires plus anciens
I have an original timeseries ts and I would like to apply a filter for removing the outliers. In particular I define a percentile criteria for filtering the original ts:
[B,TF]=rmoutliers(ts.Data,'percentiles',[5 95]);
Such operation returns two objects: a filtered ts.Data, that is B, and the logical vector Tf in which if the element is outlier the corresponding element is equal to 1, otherwise is equal to 0.
Now my question is:
how to build a timeseries with the filtered data B and the corresponding datetime vectors?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Time Series dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!