- You can convert them to datenum and use logical, comparisons.
- Convert them into same Datetime calss and use logicals, comparisons.
Extracting values at specific dates from a timetable
조회 수: 2 (최근 30일)
이전 댓글 표시
I'm trying to extract values from a timetable, based on dates from a datetime array. They have different sizes, the datetime array is shorter, and the dates are not in order. Is there any way to use the datetime values as indexing, or use the find function? Thanks!
댓글 수: 0
채택된 답변
KSSV
2021년 8월 3일
Multiple options.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!