- Read the excel file.
- To read the exel file use readtable.
- Convert your time into date time. Read about datetime.
- Create your required hourly time data.
- Then use interp1.
How to calculate hourly observation?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone,
May someone help me here ...
I have data in two columns, Hour and Minuts. I have to calculate the hourly number of observation. For example, observation among 17:30 to 18:30 and then 19:30 and so on. It's not fixed something 19:42 to 20:42 and so on for a period of 2 days. I have attached data here.
0 Kommentare
Akzeptierte Antwort
KSSV
am 12 Dez. 2020
You can use interp1 to get what you want.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!