calculate sum month and annual
조회 수: 4 (최근 30일)
이전 댓글 표시
hi, i want to calculate profit month and annual
T1 is a vector with date from 1/1/2008 to 05/08/2023 (last rilevation)
T2 is a vector with profit
i need to calculare sum of month (gen 2008..feb 2008..) and annual (2008-2009-2010 ....)
class(pT2)
double
class(T1)
ans =
'datetime'
댓글 수: 0
채택된 답변
dpb
2023년 8월 12일
편집: dpb
2023년 8월 12일
All are "modern" MATLAB tools; the time-honored and original way would have been with accumarray
댓글 수: 9
Image Analyst
2023년 8월 15일
It's weird that Google translate does not know that "i" and "i'm" should always be capitalized in English. And they should always capitalize their name, as with all proper names, and the first letter of each sentence.
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calendar에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!