Creating a one hour time interval from a on second data of a wind turbine

조회 수: 1 (최근 30일)
hasnain ali
hasnain ali 2021년 4월 20일
편집: hasnain ali 2021년 4월 20일
Problem Question:
Hey guys i am having trouble with creatin a time interval. i have a data avilible from a wind turbie which generates the power and the data is gathered for every second. i am trying to create an hourly time interval the time stamp is converted into numerical form. I am trying to Use the reshape function but when we calculate them for whole day 24*60*60= 86400 but my data is 86341 so the reshape function says the nymber of elements shold not change. at this point i am doing it for a day but i have a data fro 2 hour were i have to calculate the wind power to determine the battery size i need.
In case of a 1 week of data when i try to do it data sample should be this 24*60*60*7=604800 but my 2D array data set have 604388 samle points so the reshape will not work in this case as well.
Is there anyway i can reshape or creat a time interval using a for loop or someother way so that i can integrate and calculate the hourly data calculation.i can't upload the excel sheet because it is too big but i am uploading the picture of what i looks like in excel and also in matlab from time stam point of view.
any help would be good if you don't understand i can explain more

답변 (0개)

카테고리

Help CenterFile Exchange에서 Seismology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by