- 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 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
KSSV
le 12 Déc 2020
You can use interp1 to get what you want.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dates and Time dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!