How do I plot time intervals in weekdays?
1 回表示 (過去 30 日間)
古いコメントを表示
Asrorkhuja Ortikov
2020 年 9 月 24 日
コメント済み: Asrorkhuja Ortikov
2020 年 9 月 29 日
I need to spread time intervals in 24h scale and plot them in each week days? How do I do it? So, the idea is to see how people are behaving over the week. Time intervals are given as st_time (starting time) and end_time in data attached, and the value need to be spreaded over interval is Pevdumb.
0 件のコメント
採用された回答
Prudhvi Peddagoni
2020 年 9 月 28 日
Hi Asrorkhuja Ortikov,
You can use T=readtable(filename) function to read the xlsx file into MATLAB.
Then you can retrieve all values that follow a condition like this for example:
T1=T(T(:,3));
This line stores all the rows with mon as the weekday. More information about this here (look in Select Rows with Logical Indexing section).
Hope this helps.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!