filling missing data with nan in a data according to the date and time array

insert nan values for missing data in a time series measurement
73 Downloads
Updated 30 May 2017

View License

the code helps to fill in the gaps in a time series data. for this, it requires a DateTime array with missing dates and time and the measurement array with a corresponding missing value. it will check the dates that are missing in the date array and fill in Nan for the corresponding date in the measured array which will help in getting a continuous time series data

Cite As

rajasweta datta (2024). filling missing data with nan in a data according to the date and time array (https://www.mathworks.com/matlabcentral/fileexchange/63180-filling-missing-data-with-nan-in-a-data-according-to-the-date-and-time-array), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Arithmetic Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0