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 commentaires

Walter Roberson
Walter Roberson le 20 Avr 2019
Use detectImportOptions and readtable to read the data. Use table2timetable and then retime
surya
surya le 21 Avr 2019
Modifié(e) : surya le 21 Avr 2019
ok this works on matlab 2019a, but it doesn't work in matlab 2013 and 2014 version. thank you very much
surya
surya le 21 Avr 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 le 21 Avr 2019
str2double(YourTable.RR)

Connectez-vous pour commenter.

Réponses (0)

Catégories

Tags

Question posée :

le 20 Avr 2019

Commenté :

le 21 Avr 2019

Community Treasure Hunt

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

Start Hunting!

Translated by