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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Gefragt:

am 20 Apr. 2019

Kommentiert:

am 21 Apr. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by