Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Getting weekend (Saturday+Sunday) profiles from a yearly load profile 8760 data points

조회 수: 1 (최근 30일)
Garba
Garba 2015년 6월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a year (2014) dataset of i.e 8760 (column 8760by1) data points, and I want to get from this dataset:
1. Weekdays data for each Month and each hour (1:24). 2.Peak values for each Month (Jan:Dec) and each hour(1:24). 3.Weekend(Saturday+Sunday) data for each Month (Jan:Dec) and each hour(1:24).
It would be great to have a code to manipulate this in MATLAB. Any suggestions?

답변 (1개)

Ingrid
Ingrid 2015년 6월 12일
You should use a combination of histc and accumarray together on
1) weekday and datevec
2) datevec and max and
3) weekday and datevec

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by