how to normalize the data at that time?
Show older comments
hello , im surya.. I have difficulty processing data..
how to normalize the data at that time?, I want to enter the time per 10 minutes
'Date Time' 'RR'
'12/06/2015' 0:00:00' 10
'15/06/2015' 0:00:00 '10.2'
'15/06/2015 0:10:00' '10.8'
'16/06/2015' 0:00:00' '10.6'
'16/06/2015 6:10:00' '10.2'
'16/06/2015 6:20:00' '10.4'
'16/06/2015 8:00:00' '10.4'
'16/06/2015 8:10:00' '11.2'
'16/06/2015 8:20:00' '11.2'
'16/06/2015 8:30:00' '11.2'
'16/06/2015 8:50:00' '11.2'
'16/06/2015 9:00:00' '11.2'
etc
example: the bold one wants to be normalized per 10 minutes so at 8:40 a.m. so at 8:40 a.m. 'RR value is filled with NaN. and on '12/06/2015 '0:00:00' to '14/06/15 23:50:00 filled with Nan ... thank you
4 Comments
Walter Roberson
on 20 Apr 2019
Use detectImportOptions and readtable to read the data. Use table2timetable and then retime
surya
on 21 Apr 2019
Walter Roberson
on 21 Apr 2019
str2double(YourTable.RR)
Answers (0)
Categories
Find more on Time Series Objects 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!