- Import using a timetable. https://www.mathworks.com/help/matlab/timetables.html
- Decide how you want to decimate the data in column C. Does it make sense to take the average of the day? Or to only use the data at 8:00 am from each day? https://www.mathworks.com/help/matlab/matlab_prog/resample-and-aggregate-data-in-timetable.html
- Use either plot(mytimetable.MyTimes, mytimetable.MyVariable), or stackedplot(mytimetable) to get the plot.
i need to convert data from hourly data to daily data and plot these data
1 次查看(过去 30 天)
显示 更早的评论
i have hourly data in an excel sheet for a year and these data per hour but i need to plot it per day, how to do this please
these data until 8/25/2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/367021/image.jpeg)
0 个评论
回答(1 个)
Peter O
2020-9-26
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Axis Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!