missing year in timetable
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
TR = 
	timetable timerange subscript:
		Select timetable rows with times in the half-open interval:
		[01-Dec-2020 00:00:00, 31-Dec-2023 00:00:00)
	See Select Times in Timetable.
Y is timetable
 5×1 timetable
       Data       Profit
    __________    ______
    2020-01-01      4075
    2021-01-01     23420
    2022-01-01     21292
    2023-01-01      4725
    2024-01-01    -887.5
prof_yearly=y(TR,:)
prof_yearly =
  3×1 timetable
       Data       Profit
    __________    ______
    2021-01-01    23420 
    2022-01-01    21292 
    2023-01-01     4725 
    i don't see  2020-01-01 !!!
댓글 수: 0
채택된 답변
  Walter Roberson
      
      
 2024년 2월 29일
        The range starts 01-Dec-2020 which is after 2020-01-01
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Timetables에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

