Plotting hourly data for every month for 'x' number of years
Mostra commenti meno recenti
Hello Matlab Community,
I am trying to group the data into monthly bins for 'x' number of years. End goal is to plot the data for every month as shown in attahed screenshot.
Problem: My Date is combination of date and time. I have tried isbetween , find but I am not able to make it work. Sometimes, it gives only 30 values as I specify the date and time. Sometimes, it takes 17280 values. I want to create matrix of data for each month so that they can be plotted. I am attaching the example excel sheet and one example of plot. (Nov 2004)
This is just example but formatting is not important as long as data is separated into every month of each year. I am good with that.
Year 2004
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
Year 2005
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
and so on till year 2022
1 Commento
VBBV
il 20 Lug 2022
Use timetable and retime functions.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Dates and Time in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!