Identifying data from specific time periods

Hi, I have data which represents a persons activity over 5 consecutive days. I want to try and identify data from specific time periods e.g. there activity between 3pm-8pm on Wednesday and between 9am-1pm on Friday. Any suggestions on how I can do this? Thanks

2 件のコメント

John D'Errico
John D'Errico 2017 年 11 月 24 日
Huh? What does it mean to you to identify data? Explain your question CLEARLY. Give an example.
https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Guillaume
Guillaume 2017 年 11 月 24 日
With so little information, how can we answer?
Is the timing of the activity stored in your data? If not, is the activity measured at a regular interval (which is ...?). Basically how do you know what the activity timing is?

サインインしてコメントする。

回答 (1 件)

Guillaume
Guillaume 2017 年 11 月 24 日
編集済み: Guillaume 2017 年 11 月 24 日

0 投票

With so little information, it's difficult to go into details, but matlab has the function isbetween.

1 件のコメント

M Lamb
M Lamb 2017 年 11 月 24 日
Thanks Guillaume. The activity has been classified as either active (1) or not active (0) in Matlab, for the whole 5 day period (120 hours), with a measurement being taken every tenth of a second. So I can calculate total active and non-active time for the whole 5 day period, but I would like to specifically look at certain times of the day. Is that a bit clearer?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLanguage Fundamentals についてさらに検索

質問済み:

2017 年 11 月 24 日

コメント済み:

2017 年 11 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by