how to normalize the data at that time?
이전 댓글 표시
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
Walter Roberson
2019년 4월 20일
Use detectImportOptions and readtable to read the data. Use table2timetable and then retime
surya
2019년 4월 21일
Walter Roberson
2019년 4월 21일
str2double(YourTable.RR)
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Time Series Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!