how to count values of a particular day in a timeseries data?

4 ビュー (過去 30 日間)
Sam17
Sam17 2019 年 3 月 5 日
回答済み: KSSV 2019 年 3 月 6 日
Hi All,
I have a datatime data ( this is only an example: from 3/1/2019 2:5:4 to 3/5/2019 8:5:9). I want to know the number of data counts of each day. How do i do it?
Any suggestions?

回答 (1 件)

KSSV
KSSV 2019 年 3 月 6 日
Read about datevec. Datetime can be converted to years, monhts, days, hours, minuites and seconds......from this you can count what you want.

カテゴリ

Help Center および File ExchangeTime Series についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by