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 Comments

Use detectImportOptions and readtable to read the data. Use table2timetable and then retime
surya
surya on 21 Apr 2019
Edited: surya on 21 Apr 2019
ok this works on matlab 2019a, but it doesn't work in matlab 2013 and 2014 version. thank you very much
sorry, I want to ask again. how to change RR string to int number. I have used str2num (RR) but I can't
str2double(YourTable.RR)

Sign in to comment.

Answers (0)

Tags

Asked:

on 20 Apr 2019

Commented:

on 21 Apr 2019

Community Treasure Hunt

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

Start Hunting!