how do i derived my hourly data from 60 minute data, daily data from 24 hours, and a month from related days?for energy consumption
    1 view (last 30 days)
  
       Show older comments
    
please help for the matlab code
1 Comment
  Andy
      
 on 1 Jul 2019
				You need to ask a question that people can answer. You need to give examples of the input data and what you want for the output. 
Accepted Answer
  dpb
      
      
 on 1 Jul 2019
        
      Edited: dpb
      
      
 on 1 Jul 2019
  
      Use a timetable and retime
3 Comments
  dpb
      
      
 on 4 Jul 2019
				
      Edited: dpb
      
      
 on 4 Jul 2019
  
			You need to read "getting started" and  work through the tutorial info...specifically to the question https://www.mathworks.com/help/matlab/math/reshaping-and-rearranging-arrays.html
Example for retime should show the way to the other... https://www.mathworks.com/help/matlab/ref/timetable.retime.html#bve5nmz
More Answers (0)
See Also
Categories
				Find more on Standard File Formats in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!