- 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 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
KSSV
2020 年 12 月 12 日
You can use interp1 to get what you want.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!