How can i select rows in a timetable?
Show older comments
I have a time table created as follows
TT_T=timetable(T_T,a_X_T,a_Y_T,a_Z_T,w_X_T,w_Y_T,w_Z_T,Mag_X_T,Mag_Y_T,Mag_Z_T,Pres_P_T,Press_T_T,P_V_T);
T_T is a datetime column with this format
'10:49:26.724'
'10:49:26.726'
'10:49:26.729'
'10:49:26.731'
... it continues for 1 hour
I tried to select rows with "timerange"
A=timerange('10:53:32','10:53:38')
impact=TT_T(A,:);
But it shows me this error:
"A timetable with datetime row times cannot be subscripted using duration values."
Accepted Answer
More Answers (0)
Categories
Find more on Timetables 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!