How to convert 15minute data to hourly data
12 ビュー (過去 30 日間)
古いコメントを表示
Ritika Srinivasan
2021 年 7 月 30 日
コメント済み: Ritika Srinivasan
2021 年 8 月 1 日
Hi , I have 15 minute power output data for a Pv powerplant over a year. I would like to convert it into hourly data. I imported the raw data through an excel file into the matlab live script. now I am unsure how to combine the values![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/698942/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/698942/image.png)
0 件のコメント
採用された回答
Lucien Hollins
2021 年 7 月 30 日
Hi I understand you would like to learn about managing table data. Please refer to this documentation to learn the basics of dealing with tables:
I believe for your specific case, you would like to extract every fourth value. To do this, you can try the following command:
Reduceddata = Rawmasterdata(1:4:end,:);
This will generate a new variable called Reduceddata that begins at your first data point and includes every fourth point afterwards. If you would like to start at a different data point (e.g. on the hour mark), you can change the command to
Reduceddata = Rawmasterdata(4:4:end,:);
If instead you would prefer to take the hourly averaged data, you may find the following MATLAB answer helpful:
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!