Time series correction and standardization
Version 1.0.0 (3.5 KB) by
Guillaume Talbot
Fix common problems with time series, such as gaps and duplicated dates. The final product is a smooth and continuous time series.
Time series have frequent problems such as gaps in time (ex : skipping a few days) or duplicated dates.
This function aims to identify these problems, and correct them. More specifically :
1) Fill the gaps in time so that it becomes a continuous series with a constant timestep
2) Order the data chronologically
3) Check if a given date appears multiple time. If a date appears multiple times, but the corresponding data is the same, the data
will be kept (only once, obviously). Otherwise (i.e. same date, different data), both data will be considered missing
4) Convert a time series from a specific time step to another (ex : daily to hourly). Holes will be filled with NaNs.
Cite As
Guillaume Talbot (2024). Time series correction and standardization (https://www.mathworks.com/matlabcentral/fileexchange/93340-time-series-correction-and-standardization), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |