How can i select rows in a timetable?
이전 댓글 표시
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."
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Timetables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!